From de785ba0565ceb5d91d3f397606e5021efd53d84 Mon Sep 17 00:00:00 2001 From: Dmitry Kozlyuk Date: Tue, 1 Dec 2020 19:39:59 +0300 Subject: [PATCH] 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 --- drivers/bus/pci/windows/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1