Skip to content

Commit

Permalink
bus/pci: fix build with MinGW-w64 8
Browse files Browse the repository at this point in the history
[ upstream commit de785ba ]

Fix redefinition of GUID, missing from previous versions.

Fixes: b762221 ("bus/pci: support Windows with bifurcated drivers")

Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Tested-by: Thomas Monjalon <thomas@monjalon.net>
  • Loading branch information
PlushBeaver authored and bluca committed Feb 2, 2021
1 parent ab9b79c commit d97da41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/bus/pci/windows/pci.c
Expand Up @@ -11,7 +11,7 @@

#include <devpkey.h>

#ifdef RTE_TOOLCHAIN_GCC
#if defined RTE_TOOLCHAIN_GCC && (__MINGW64_VERSION_MAJOR < 8)
#include <devpropdef.h>
DEFINE_DEVPROPKEY(DEVPKEY_Device_Numa_Node, 0x540b947e, 0x8b40, 0x45bc,
0xa8, 0xa2, 0x6a, 0x0b, 0x89, 0x4c, 0xbd, 0xa2, 3);
Expand Down

0 comments on commit d97da41

Please sign in to comment.