]> granicus.if.org Git - python/commitdiff
Final adjustments for #1601
authorChristian Heimes <christian@cheimes.de>
Sat, 5 Jan 2008 21:35:52 +0000 (21:35 +0000)
committerChristian Heimes <christian@cheimes.de>
Sat, 5 Jan 2008 21:35:52 +0000 (21:35 +0000)
PCbuild/build_tkinter.py

index dada3865f9e5088c6c7d44fa7a4b10812ba39ab6..a7205d00d33ef257d30e1c008643be6b49dcd0c6 100644 (file)
@@ -24,7 +24,9 @@ else:
 ROOT = os.path.abspath(os.path.join(here, par, par))
 # Windows 2000 compatibility: WINVER 0x0500
 # http://msdn2.microsoft.com/en-us/library/aa383745.aspx
-NMAKE = "nmake /nologo /f %s COMPILERFLAGS=-DWINVER=0x0500 %s %s"
+NMAKE = ('nmake /nologo /f %s '
+    'COMPILERFLAGS=\"-DWINVER=0x0500 -D_WIN32_WINNT=0x0500 -DNTDDI_VERSION=NTDDI_WIN2KSP4\"'
+    '%s %s')
 
 def nmake(makefile, command="", **kw):
     defines = ' '.join(k+'='+v for k, v in kw.items())