From d2acb8cf8b391dd55aa1014a70bb2cbbe141ba3c Mon Sep 17 00:00:00 2001 From: Steven Edwards Date: Thu, 23 Sep 2004 04:26:54 +0000 Subject: [PATCH] Define _WIN32_WINNT and _WIN32_IE versions for MS_VC Build. --- tools/winapi/msvcmaker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/winapi/msvcmaker b/tools/winapi/msvcmaker index 870351261fd..7f8bdd79eb4 100755 --- a/tools/winapi/msvcmaker +++ b/tools/winapi/msvcmaker @@ -628,7 +628,7 @@ sub _generate_dsp { @defines = (qw(WIN32 _DEBUG _MBCS _LIB)); } else { print OUT "# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od"; - @defines = (qw(WIN32 _DEBUG _WINDOWS _MBCS _USRDLL), ("\U${project}\E_EXPORTS")); + @defines = (qw(_WIN32_WINNT=0x0501 _WIN32_IE=0x0600 WIN32 _DEBUG _WINDOWS _MBCS _USRDLL), ("\U${project}\E_EXPORTS")); } } else { if($lib || $exe) {