Commit 30d1a76b authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

fix compile error. definition of VOID in trunk still conflicts with windows...

fix compile error. definition of VOID in trunk still conflicts with windows headers. that was fixed in 6.0
parent c272743b
......@@ -102,6 +102,14 @@ my_bool my_gethwaddr(uchar *to)
}
#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>
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment