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:
parent
49f3855407
commit
7f0297dc44
@ -67,7 +67,7 @@ mingw32* | windows*)
|
|||||||
])
|
])
|
||||||
AC_CHECK_TOOL(WINDRES, windres)
|
AC_CHECK_TOOL(WINDRES, windres)
|
||||||
AM_CPPFLAGS="$AM_CPPFLAGS -DWIN32_LEAN_AND_MEAN"
|
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"
|
LIBS="$LIBS -lws2_32"
|
||||||
HAVE_WINDOWS=1
|
HAVE_WINDOWS=1
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user