Undoing the commenting out of lines 709 to 712 in makepanda.py (Windows 7 SDK related defines)

This commit is contained in:
enn0x 2010-10-18 14:43:34 +00:00
parent 40b8521245
commit 7f11bd2d74

View File

@ -707,9 +707,9 @@ def CompileCxx(obj,src,opts):
cmd += "/wd4996 /wd4275 /wd4267 /wd4101 /wd4273 "
# Enables Windows 7 mode if SDK is detected.
#platsdk = GetRegistryKey("SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v7.0", "InstallationFolder")
#if platsdk and os.path.isdir(platsdk):
# cmd += "/DPANDA_WIN7 /DWINVER=0x601 "
platsdk = GetRegistryKey("SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v7.0", "InstallationFolder")
if platsdk and os.path.isdir(platsdk):
cmd += "/DPANDA_WIN7 /DWINVER=0x601 "
cmd += "/Fo" + obj + " /nologo /c"
for x in ipath: cmd += " /I" + x