diff --git a/configure.ac b/configure.ac index 73c0c37b2b..436c5e3a52 100644 --- a/configure.ac +++ b/configure.ac @@ -135,11 +135,17 @@ ]]) AC_CHECK_HEADERS([windows.h winsock2.h ws2tcpip.h w32api/wtypes.h], [], [], - [[#define _X86_ + [[ + #ifndef _X86_ + #define _X86_ + #endif ]]) AC_CHECK_HEADERS([w32api/winbase.h], [], [], - [[#define _X86_ - #include + [[ + #ifndef _X86_ + #define _X86_ + #endif + #include ]]) # Checks for typedefs, structures, and compiler characteristics.