From 7f11bd2d74790b54463d270d6f195e1ca627ae38 Mon Sep 17 00:00:00 2001 From: enn0x Date: Mon, 18 Oct 2010 14:43:34 +0000 Subject: [PATCH] Undoing the commenting out of lines 709 to 712 in makepanda.py (Windows 7 SDK related defines) --- makepanda/makepanda.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index 4b72cc0f10..3545381e7f 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -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