Commit 029e3c65 authored by Martin Storsjö's avatar Martin Storsjö

Don't force a lower version of _WIN32_WINNT

parent 25a5475c
......@@ -98,7 +98,13 @@ case "${host_os}" in
*mingw32*)
SYS=mingw32
AC_CHECK_TOOL(WINDRES, windres, :)
AC_DEFINE([_WIN32_WINNT], 0x0501, [Define to '0x0501' for Windows XP APIs.])
AC_TRY_COMPILE([#include <windows.h>], [
#if _WIN32_WINNT >= 0x0501
#error new enough by default
#endif
], [
AC_DEFINE([_WIN32_WINNT], 0x0501, [Define to '0x0501' for Windows XP APIs.])
])
AC_DEFINE([_WIN32_IE], 0x0600, [Define to '0x0600' for IE6.0 APIs.])
AC_DEFINE([_WIN32], 1, [Define to 1 if targetting Windows.])
CC="$CC -static-libgcc"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment