From c796d10a9a7004a6b2f558c0f4a8847168850a7e Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Wed, 28 Apr 2010 23:46:26 +0300 Subject: [PATCH] Require Windows XP (I doubt VLC 1.2.0 will be out before July 13th this year) --- bin/winvlc.c | 5 ----- configure.ac | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) 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 -- 2.39.2