From: Victor Julien Date: Mon, 16 Dec 2013 13:41:46 +0000 (+0100) Subject: Cygwin: make configure pass with -Werror X-Git-Tag: suricata-2.0rc1~195 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F773%2Fhead;p=thirdparty%2Fsuricata.git Cygwin: make configure pass with -Werror --- 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.