Define _WIN32_WINNT and _WIN32_IE versions for MS_VC Build.
This commit is contained in:
parent
494b169cc0
commit
d2acb8cf8b
@ -628,7 +628,7 @@ sub _generate_dsp {
|
|||||||
@defines = (qw(WIN32 _DEBUG _MBCS _LIB));
|
@defines = (qw(WIN32 _DEBUG _MBCS _LIB));
|
||||||
} else {
|
} else {
|
||||||
print OUT "# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od";
|
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 {
|
} else {
|
||||||
if($lib || $exe) {
|
if($lib || $exe) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user