configure.ac: require Windows Vista or newer

We're going to use Vista features soon.  Sorry for those poor people
still on XP (or Windows, anyway).
This commit is contained in:
Max Kellermann 2013-01-11 10:57:39 +01:00
parent 49f3855407
commit 7f0297dc44

View File

@ -67,7 +67,7 @@ mingw32* | windows*)
])
AC_CHECK_TOOL(WINDRES, windres)
AM_CPPFLAGS="$AM_CPPFLAGS -DWIN32_LEAN_AND_MEAN"
AM_CPPFLAGS="$AM_CPPFLAGS -DWINVER=0x0501"
AM_CPPFLAGS="$AM_CPPFLAGS -DWINVER=0x0600 -D_WIN32_WINNT=0x0600"
LIBS="$LIBS -lws2_32"
HAVE_WINDOWS=1
;;