From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2 2/6] eal: add header files to support windows Date: Thu, 07 Mar 2019 09:45:57 +0100 Message-ID: <2354479.T0gxW44koM@xps> References: <20190306041634.12976-1-anand.rawat@intel.com> <2585800.7Z22QRaGj1@xps> <97a6242f-6d56-0c12-aba0-5e1f4c609a49@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: "dev@dpdk.org" , "Kadam, Pallavi" , "Menon, Ranjit" , "Shaw, Jeffrey B" To: Anand Rawat Return-path: Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by dpdk.org (Postfix) with ESMTP id 800D62B87 for ; Thu, 7 Mar 2019 09:46:05 +0100 (CET) In-Reply-To: <97a6242f-6d56-0c12-aba0-5e1f4c609a49@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 07/03/2019 04:27, Anand Rawat: > On 3/6/2019 3:31 AM, Thomas Monjalon wrote: > > 06/03/2019 05:16, Anand Rawat: > >> Added header files to support windows on x86 platforms. > >> Updated rte_config to include rte_windows.h for windows > >> build. > > [...] > >> --- a/config/rte_config.h > >> +++ b/config/rte_config.h > >> +/* windows specific*/ > >> +#ifdef RTE_EXEC_ENV_WINDOWS > >> +#include > >> +#endif > > > > Include in the config file looks wrong. > > >> --- /dev/null > >> +++ b/lib/librte_eal/windows/eal/include/exec-env/rte_windows.h > > > > I think we could remove the sub-directory exec-env. > > Could we include this file from rte_common.h? > rte_windows.h defines types and substitution macros which are > needed to support common code on windows. So it should be > included as a global include for every library on windows. > rte_common.h is not included in all the source code and headers > we currently build for windows. I think it is not an issue adding some rte_common.h include here and there.