Commit d66838ee authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

configure.ac: Fix _WIN32_WINNT check

We are only interested in a value provided through the CPPFLAGS
parent 35209934
......@@ -267,7 +267,8 @@ AM_CONDITIONAL(HAVE_ANDROID, test "${HAVE_ANDROID}" = "1")
AS_IF([test "$SYS" = mingw32],[
AC_CHECK_DECL(_WIN32_WINNT,,
AC_DEFINE([_WIN32_WINNT], 0x600, [Enforce a specific windows SDK version])
AC_DEFINE([_WIN32_WINNT], 0x600, [Enforce a specific windows SDK version]),
[] # Don't check default includes, only CFLAGS provided macros
)
])
......
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