From 3dbd5d58723bdc31eb00a6ebf4f643059a432f8c Mon Sep 17 00:00:00 2001 From: Mikko Koppanen Date: Wed, 17 Nov 2010 15:05:01 +0100 Subject: Fix mingw32 build MinGW32 defines __int64_t as long long, which causes the build to fail unless -Wno-long-long is used. In addition the shutdown_stress test isn't currently compatible with Win. Signed-off-by: Mikko Koppanen --- configure.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 76a0ec6..700a9d1 100644 --- a/configure.in +++ b/configure.in @@ -191,7 +191,8 @@ case "${host_os}" in [AC_MSG_ERROR([cannot link with rpcrt4.dll.])]) AC_CHECK_LIB(iphlpapi, main, , [AC_MSG_ERROR([cannot link with iphlpapi.dll.])]) - CFLAGS="${CFLAGS} -std=c99" + # mingw32 defines __int64_t as long long + CPPFLAGS="-Wno-long-long ${CPPFLAGS} " on_mingw32="yes" ;; *cygwin*) -- cgit v1.2.3