mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
fix compile error. definition of VOID in trunk still conflicts with windows headers. that was fixed in 6.0
This commit is contained in:
parent
fc8db5e9ea
commit
12cea944fc
1 changed files with 8 additions and 0 deletions
|
@ -102,6 +102,14 @@ err:
|
|||
}
|
||||
|
||||
#elif defined(__WIN__)
|
||||
|
||||
/* Workaround for BUG#32082 (Definition of VOID in my_global.h conflicts with
|
||||
windows headers) */
|
||||
#ifdef VOID
|
||||
#undef VOID
|
||||
#define VOID void
|
||||
#endif
|
||||
|
||||
#include <iphlpapi.h>
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue