From: RĂ©mi Denis-Courmont Date: Wed, 28 Apr 2010 20:46:26 +0000 (+0300) Subject: Require Windows XP X-Git-Tag: 1.2.0-pre1~6854 X-Git-Url: https://git.sesse.net/?p=vlc;a=commitdiff_plain;h=c796d10a9a7004a6b2f558c0f4a8847168850a7e Require Windows XP (I doubt VLC 1.2.0 will be out before July 13th this year) --- diff --git a/bin/winvlc.c b/bin/winvlc.c index 09f56b6e96..90ed7ce4de 100644 --- a/bin/winvlc.c +++ b/bin/winvlc.c @@ -46,11 +46,6 @@ static void check_crashdump(void); LONG WINAPI vlc_exception_filter(struct _EXCEPTION_POINTERS *lpExceptionInfo); # endif -typedef enum _HEAP_INFORMATION_CLASS { - HeapCompatibilityInformation, - HeapEnableTerminationOnCorruption -} HEAP_INFORMATION_CLASS; -WINBASEAPI BOOL WINAPI HeapSetInformation(HANDLE,HEAP_INFORMATION_CLASS,PVOID,SIZE_T); #define HeapEnableTerminationOnCorruption (HEAP_INFORMATION_CLASS)1 #endif diff --git a/configure.ac b/configure.ac index 9358079ad6..42a74fbb29 100644 --- a/configure.ac +++ b/configure.ac @@ -312,12 +312,12 @@ case "${host_os}" in ;; *mingw32*) SYS=mingw32 - AC_DEFINE([_WIN32_WINNT], 0x0500, [Define to '0x0500' for Windows 2000 APIs.]) + 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], 0x0500, [Define to '0x0500' for Windows 2000 APIs.]) + AC_DEFINE([_WIN32_WINNT], 0x0501, [Define to '0x0501' for Windows XP APIs.]) AC_EGREP_CPP(yes, [#ifdef WIN32 yes