Re: [dpdk-dev] [PATCH v3] eal/windows: fix link error with MinGW

2020-11-22 Thread Tal Shnaiderman
> Subject: [PATCH v3] eal/windows: fix link error with MinGW > > Linking with the 'pci' driver when building with MinGW on Windows fails with > undefined symbol 'GUID_DEVCLASS_NET'. > This occurs because devguid.h is included in rte_windows.h before INITGUID > is defined. > > Move the include of

[dpdk-dev] [PATCH v3] eal/windows: fix link error with MinGW

2020-11-22 Thread Nick Connolly
Linking with the 'pci' driver when building with MinGW on Windows fails with undefined symbol 'GUID_DEVCLASS_NET'. This occurs because devguid.h is included in rte_windows.h before INITGUID is defined. Move the include of devguid.h after the definition of INITGUID. Fixes: b762221ac24f ("bus/pci: