Correctly define WINVER, _WIN32_WINNT and _WIN32_IE versions in all

cases.
This commit is contained in:
Steven Edwards 2004-10-11 19:51:43 +00:00 committed by Alexandre Julliard
parent e6fb678c4e
commit c7545d2b1c
1 changed files with 2 additions and 2 deletions

View File

@ -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) {