Commit 4ecdf371 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32: define _WIN32_IE in a centralized way

parent ecdd1ee8
......@@ -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*)
......
......@@ -73,7 +73,6 @@
/* Win32 GDI */
#ifdef WIN32
# define _WIN32_IE 0x0500
# include <windows.h>
# include <shlobj.h>
# define HAVE_STYLES
......
......@@ -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>
......
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