From c7545d2b1c027811cc26f80255b4ef5663969f1e Mon Sep 17 00:00:00 2001 From: Steven Edwards Date: Mon, 11 Oct 2004 19:51:43 +0000 Subject: [PATCH] Correctly define WINVER, _WIN32_WINNT and _WIN32_IE versions in all cases. --- tools/winapi/msvcmaker | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/winapi/msvcmaker b/tools/winapi/msvcmaker index 237f5904b63..1eaeb565dce 100755 --- a/tools/winapi/msvcmaker +++ b/tools/winapi/msvcmaker @@ -628,10 +628,10 @@ sub _generate_dsp($$) { if($debug) { if($lib || $exe) { print OUT "# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od"; - @defines = (qw(WIN32 _DEBUG _MBCS _LIB)); + @defines = (qw(WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600 WIN32 _DEBUG _MBCS _LIB)); } else { print OUT "# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od"; - @defines = (qw(_WIN32_WINNT=0x0501 _WIN32_IE=0x0600 WIN32 _DEBUG _WINDOWS _MBCS _USRDLL), ("\U${project}\E_EXPORTS")); + @defines = (qw(WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600 WIN32 _DEBUG _WINDOWS _MBCS _USRDLL), ("\U${project}\E_EXPORTS")); } } else { if($lib || $exe) {