From: Dmitry Kozlyuk Date: Tue, 1 Dec 2020 16:39:59 +0000 (+0300) Subject: bus/pci: fix build with MinGW-w64 8 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=de785ba0565ceb5d91d3f397606e5021efd53d84;p=dpdk.git bus/pci: fix build with MinGW-w64 8 Fix redefinition of GUID, missing from previous versions. Fixes: b762221ac24f ("bus/pci: support Windows with bifurcated drivers") Cc: stable@dpdk.org Signed-off-by: Dmitry Kozlyuk Tested-by: Thomas Monjalon --- diff --git a/drivers/bus/pci/windows/pci.c b/drivers/bus/pci/windows/pci.c index b450346bdc..33a5fb1d83 100644 --- a/drivers/bus/pci/windows/pci.c +++ b/drivers/bus/pci/windows/pci.c @@ -11,7 +11,7 @@ #include -#ifdef RTE_TOOLCHAIN_GCC +#if defined RTE_TOOLCHAIN_GCC && (__MINGW64_VERSION_MAJOR < 8) #include DEFINE_DEVPROPKEY(DEVPKEY_Device_Numa_Node, 0x540b947e, 0x8b40, 0x45bc, 0xa8, 0xa2, 0x6a, 0x0b, 0x89, 0x4c, 0xbd, 0xa2, 3);