From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Burakov, Anatoly" Subject: Re: [PATCH 2/7] pci/vfio: improve musl compatibility Date: Wed, 29 Aug 2018 15:08:49 +0100 Message-ID: <252cc35c-270a-5c29-8e4f-ba07234cbabb@intel.com> References: <4694d02efdd764a45e84d2da00f1dff284694963.1535543250.git.anatoly.burakov@intel.com> <20180829123505.GA39260@bricha3-MOBL.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, dpdk@stormmq.com To: Bruce Richardson Return-path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id E0C342B92 for ; Wed, 29 Aug 2018 16:09:01 +0200 (CEST) In-Reply-To: <20180829123505.GA39260@bricha3-MOBL.ger.corp.intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 29-Aug-18 1:35 PM, Bruce Richardson wrote: > On Wed, Aug 29, 2018 at 12:56:16PM +0100, Anatoly Burakov wrote: >> Musl already has PAGE_SIZE defined, and our define clashed with it. >> Rename our define to SYS_PAGE_SIZE. >> >> Bugzilla ID: 36 >> >> Signed-off-by: Anatoly Burakov >> --- > > Would it not be easier to just do? > > #ifndef PAGE_SIZE > #define PAGE_SIZE ... > #endif Sure, that can work. -- Thanks, Anatoly