Reece Dunn : tools: Target the version defines to Vista in msvcmaker.
Alexandre Julliard
julliard at winehq.org
Mon Mar 24 15:21:48 CDT 2008
Module: wine
Branch: master
Commit: 45d248f1e0bddfa370f7a50ed16cb797d7a10e21
URL: http://source.winehq.org/git/wine.git/?a=commit;h=45d248f1e0bddfa370f7a50ed16cb797d7a10e21
Author: Reece Dunn <msclrhd at googlemail.com>
Date: Sun Mar 23 00:39:11 2008 +0000
tools: Target the version defines to Vista in msvcmaker.
---
tools/winapi/msvcmaker | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/tools/winapi/msvcmaker b/tools/winapi/msvcmaker
index f466bf1..325339b 100755
--- a/tools/winapi/msvcmaker
+++ b/tools/winapi/msvcmaker
@@ -575,18 +575,18 @@ sub _generate_dsp($$) {
if($debug) {
if($lib || $exe) {
print OUT "# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od";
- @defines = (qw(WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600 WIN32 _DEBUG _MBCS _LIB));
+ @defines = (qw(WINVER=0x0600 _WIN32_WINNT=0x0600 _WIN32_IE=0x0700 WIN32 _DEBUG _MBCS _LIB));
} else {
print OUT "# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /Zi /Od";
- @defines = (qw(WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600 WIN32 _DEBUG _WINDOWS _MBCS _USRDLL), ("\U${project}\E_EXPORTS"));
+ @defines = (qw(WINVER=0x0600 _WIN32_WINNT=0x0600 _WIN32_IE=0x0700 WIN32 _DEBUG _WINDOWS _MBCS _USRDLL), ("\U${project}\E_EXPORTS"));
}
} else {
if($lib || $exe) {
print OUT "# ADD BASE CPP /nologo /W3 /GX /O2";
- @defines = (qw(WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600 WIN32 NDEBUG _MBCS _LIB));
+ @defines = (qw(WINVER=0x0600 _WIN32_WINNT=0x0600 _WIN32_IE=0x0700 WIN32 NDEBUG _MBCS _LIB));
} else {
print OUT "# ADD BASE CPP /nologo /MD /W3 /GX /O2";
- @defines = (qw(WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600 WIN32 NDEBUG _WINDOWS _MBCS _USRDLL), ("\U${project}\E_EXPORTS"));
+ @defines = (qw(WINVER=0x0600 _WIN32_WINNT=0x0600 _WIN32_IE=0x0700 WIN32 NDEBUG _WINDOWS _MBCS _USRDLL), ("\U${project}\E_EXPORTS"));
}
}
@@ -607,18 +607,18 @@ sub _generate_dsp($$) {
if($debug) {
if($lib) {
print OUT "# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od";
- @defines2 = qw(WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600 WIN32 _DEBUG _WINDOWS _MBCS _LIB);
+ @defines2 = qw(WINVER=0x0600 _WIN32_WINNT=0x0600 _WIN32_IE=0x0700 WIN32 _DEBUG _WINDOWS _MBCS _LIB);
} else {
print OUT "# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od";
- @defines2 = qw(WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600 _DEBUG WIN32 _WINDOWS _MBCS _USRDLL);
+ @defines2 = qw(WINVER=0x0600 _WIN32_WINNT=0x0600 _WIN32_IE=0x700 _DEBUG WIN32 _WINDOWS _MBCS _USRDLL);
}
} else {
if($lib) {
print OUT "# ADD CPP /nologo /MD /W3 /GX /O2";
- @defines2 = qw(WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600 WIN32 NDEBUG _WINDOWS _MBCS _LIB);
+ @defines2 = qw(WINVER=0x0600 _WIN32_WINNT=0x0600 _WIN32_IE=0x0700 WIN32 NDEBUG _WINDOWS _MBCS _LIB);
} else {
print OUT "# ADD CPP /nologo /MD /W3 /GX /O2";
- @defines2 = qw(WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600 NDEBUG WIN32 _WINDOWS _MBCS _USRDLL);
+ @defines2 = qw(WINVER=0x0600 _WIN32_WINNT=0x0600 _WIN32_IE=0x0700 NDEBUG WIN32 _WINDOWS _MBCS _USRDLL);
}
}
More information about the wine-cvs
mailing list