From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5168C43B19; Thu, 15 Feb 2024 23:20:23 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1881B402AC; Thu, 15 Feb 2024 23:20:23 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 8038B402AC for ; Thu, 15 Feb 2024 23:20:21 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id 9D9FE207F21F; Thu, 15 Feb 2024 14:20:20 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 9D9FE207F21F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1708035620; bh=97TpbwpD82TxKXdODpwYzKfGUILpe2OJWNkqjGcPrX8=; h=From:To:Cc:Subject:Date:From; b=HtnTqO0m7x0AFFNEr5XnCTFCsBKW9v9NcngaA4YTZG+3+AotnoukRczgLVNuWPFno z+j0pGYvYPn+L+B1mLZG01UUGZzcCxPmDSuIE+SqgBNUlsbVvJ3n6c4u+ETufW3qBU bTEf1oDE4uWM1cCay+CBZjEXnHGa23BbfDrP726I= From: Tyler Retzlaff To: dev@dpdk.org Cc: Tyler Retzlaff Subject: [PATCH] remove some MSVC conditional compile to empty Date: Thu, 15 Feb 2024 14:20:17 -0800 Message-Id: <1708035618-14090-1-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Introduce a new macro __rte_attribute intended for internal use that may be used when defining other __rte_xxx macros that should expand empty on MSVC. Use the new macro to clean up conditional compile in rte_common.h Tyler Retzlaff (1): eal: provide rte attribute macro for GCC attribute lib/eal/include/rte_common.h | 77 ++++++++++++-------------------------------- 1 file changed, 21 insertions(+), 56 deletions(-) -- 1.8.3.1