mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-28 23:09:59 +02:00
Allow overriding _WIN32_WINNT with environment variable
This commit is contained in:
parent
8378d01f5e
commit
e35bd0a3e0
@ -205,7 +205,8 @@ case "${host_os}" in
|
||||
*mingw32* | *cygwin* | *wince* | *mingwce*)
|
||||
AC_CHECK_TOOL(WINDRES, windres, :)
|
||||
AC_CHECK_TOOL(OBJCOPY, objcopy, :)
|
||||
AC_DEFINE([_WIN32_WINNT], 0x0502, [Define to '0x0502' for Windows XP SP2 APIs.])
|
||||
test -z "$_WIN32_WINNT" && _WIN32_WINNT=0x0502
|
||||
AC_DEFINE_UNQUOTED([_WIN32_WINNT], ${_WIN32_WINNT}, [Windows API level])
|
||||
AC_DEFINE([_WIN32_IE], 0x0600, [Define to '0x0600' for IE 6.0 (and shell) APIs.])
|
||||
AC_DEFINE([_UNICODE], [1], [Define to 1 for Unicode (Wide Chars) APIs.])
|
||||
AC_DEFINE([UNICODE], [1], [Define to 1 for Unicode (Wide Chars) APIs.])
|
||||
|
Loading…
Reference in New Issue
Block a user