Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
7d575ec6
Commit
7d575ec6
authored
Jan 22, 2013
by
Rafaël Carré
Browse files
Allow overriding _WIN32_WINNT through CPPFLAGS
Suggested-by: Rémi Denis-Courmont
parent
e35bd0a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
7d575ec6
...
...
@@ -205,8 +205,9 @@ case "${host_os}" in
*mingw32* | *cygwin* | *wince* | *mingwce*)
AC_CHECK_TOOL(WINDRES, windres, :)
AC_CHECK_TOOL(OBJCOPY, objcopy, :)
test -z "$_WIN32_WINNT" && _WIN32_WINNT=0x0502
AC_DEFINE_UNQUOTED([_WIN32_WINNT], ${_WIN32_WINNT}, [Windows API level])
AH_TOP([#if defined(WIN32) && !defined(_WIN32_WINNT)])
AH_TOP([# define _WIN32_WINNT 0x0502 /* Windows XP SP2 */])
AH_TOP([#endif])
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.])
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment