vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Wed Jun 8 17:36:47 2011 +0200| [0b76cec1d1386641b2dc14008c1f25c6a53aab4e] | committer: Jean-Baptiste Kempf
Win32: Use _WIN32_WINNT 0x501 everywhere > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0b76cec1d1386641b2dc14008c1f25c6a53aab4e --- configure.ac | 4 +--- modules/stream_out/standard.c | 4 ---- 2 files changed, 1 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index 7854625..1f78265 100644 --- a/configure.ac +++ b/configure.ac @@ -294,21 +294,19 @@ case "${host_os}" in *mingw32* | *cygwin* | *wince* | *mingwce*) AC_CHECK_TOOL(WINDRES, windres, :) AC_CHECK_TOOL(OBJCOPY, objcopy, :) + AC_DEFINE([_WIN32_WINNT], 0x0501, [Define to '0x0501' for Windows XP APIs.]) case "${host_os}" in *wince* | *mingwce* | *mingw32ce*) SYS=mingwce dnl Sadly CeGCC still needs non-wince macros - AC_DEFINE([_WIN32_WINNT], 0x0501, [Define to '0x0500' for Windows 2000 APIs.]) ;; *mingw32*) SYS=mingw32 - AC_DEFINE([_WIN32_WINNT], 0x0501, [Define to '0x0500' for Windows XP APIs.]) ;; *cygwin*) dnl Check if we are using the mno-cygwin mode in which case we are dnl actually dealing with a mingw32 compiler. - AC_DEFINE([_WIN32_WINNT], 0x0501, [Define to '0x0501' for Windows XP APIs.]) AC_EGREP_CPP(yes, [#ifdef WIN32 yes diff --git a/modules/stream_out/standard.c b/modules/stream_out/standard.c index 4558002..59fc401 100644 --- a/modules/stream_out/standard.c +++ b/modules/stream_out/standard.c @@ -28,10 +28,6 @@ # include "config.h" #endif -#ifndef _WIN32_WINNT -# define _WIN32_WINNT 0x0500 -#endif - #include <vlc_common.h> #include <vlc_plugin.h> #include <vlc_sout.h> _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
