configure.ac: enable STRICT mode on Windows

This commit is contained in:
Max Kellermann 2015-02-25 16:01:30 +01:00
parent 64b9e7fd48
commit 73cb538d72

View File

@ -102,6 +102,7 @@ mingw32* | windows*)
AC_CHECK_TOOL(WINDRES, windres)
AM_CPPFLAGS="$AM_CPPFLAGS -DWIN32_LEAN_AND_MEAN"
AM_CPPFLAGS="$AM_CPPFLAGS -DWINVER=0x0600 -D_WIN32_WINNT=0x0600"
AM_CPPFLAGS="$AM_CPPFLAGS -DSTRICT"
LIBS="$LIBS -lws2_32"
host_is_windows=yes
host_is_unix=no