From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id B3314C492 for ; Wed, 17 Jun 2015 17:04:08 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 17 Jun 2015 08:03:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,633,1427785200"; d="scan'208";a="712668757" Received: from unknown (HELO stargo) ([10.217.248.233]) by orsmga001.jf.intel.com with SMTP; 17 Jun 2015 08:03:13 -0700 Received: by stargo (sSMTP sendmail emulation); Wed, 17 Jun 2015 16:59:43 +0200 From: Maciej Gajdzica To: dev@dpdk.org Date: Wed, 17 Jun 2015 16:48:44 +0200 Message-Id: <1434552528-3576-3-git-send-email-maciejx.t.gajdzica@intel.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1434552528-3576-1-git-send-email-maciejx.t.gajdzica@intel.com> References: <1434552528-3576-1-git-send-email-maciejx.t.gajdzica@intel.com> Subject: [dpdk-dev] [PATCH v2 2/6] librte_compat: fix macro definition X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 15:04:09 -0000 From: Pawel Wodkowski Signed-off-by: Pawel Wodkowski --- lib/librte_compat/rte_compat.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/librte_compat/rte_compat.h b/lib/librte_compat/rte_compat.h index fb0dc19..cf6b9d3 100644 --- a/lib/librte_compat/rte_compat.h +++ b/lib/librte_compat/rte_compat.h @@ -63,7 +63,7 @@ * char foo(int value, int otherval) { ...} * * 5) Mark the newest version as the default version - * BIND_DEFAULT_SYMBOL(foo, 2.1); + * BIND_DEFAULT_SYMBOL(foo, _v21, 2.1); * */ @@ -100,10 +100,10 @@ /* * No symbol versioning in use */ -#define VERSION_SYMBOL(b, e, v) +#define VERSION_SYMBOL(b, e, n) #define __vsym -#define BASE_SYMBOL(b, n) -#define BIND_DEFAULT_SYMBOL(b, v) +#define BASE_SYMBOL(b, e) +#define BIND_DEFAULT_SYMBOL(b, e, n) /* * RTE_BUILD_SHARED_LIB=n -- 1.7.9.5