]> git.sesse.net Git - vlc/commitdiff
Win32: define _WIN32_IE in a centralized way
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 8 Jun 2011 16:30:03 +0000 (18:30 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 8 Jun 2011 16:30:03 +0000 (18:30 +0200)
configure.ac
modules/misc/text_renderer/freetype.c
src/win32/dirs.c

index 1f782656f63a6c3896629a55993b869c76e82352..b4f7a480d82a9800bb2ddeb82e53a4102bb46a66 100644 (file)
@@ -295,6 +295,7 @@ case "${host_os}" in
     AC_CHECK_TOOL(WINDRES, windres, :)
     AC_CHECK_TOOL(OBJCOPY, objcopy, :)
     AC_DEFINE([_WIN32_WINNT], 0x0501, [Define to '0x0501' for Windows XP APIs.])
+    AC_DEFINE([_WIN32_IE], 0x0501, [Define to '0x0501' for IE 5.01 (and shell) APIs.])
 
     case "${host_os}" in
       *wince* | *mingwce* | *mingw32ce*)
index aad1d264457b64fa417257790ad042b093df7472..7eb4220a386f6fc7eabb055d5f051ff3df77348f 100644 (file)
@@ -73,7 +73,6 @@
 
 /* Win32 GDI */
 #ifdef WIN32
-# define _WIN32_IE 0x0500
 # include <windows.h>
 # include <shlobj.h>
 # define HAVE_STYLES
index 519de2af39a29bc63d3887cce2535857bd7f7c69..1f6ee337e43fe0d7b85f4539f311b978f8d0aa7d 100644 (file)
@@ -27,9 +27,6 @@
 
 #include <vlc_common.h>
 
-#ifndef _WIN32_IE
-# define _WIN32_IE 0x0501
-#endif
 #include <w32api.h>
 #ifndef UNDER_CE
 # include <direct.h>