summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-01-05 21:35:52 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-01-05 21:35:52 (GMT)
commit3001c5463ecfb8fe17b434733b1bfc399b89e80e (patch)
treeed4d4b4ca3942644846243409e968c94f21e2a7f /PCbuild
parent7390f6caa0bc8cdb856f1067fbec518aab155752 (diff)
downloadcpython-3001c5463ecfb8fe17b434733b1bfc399b89e80e.zip
cpython-3001c5463ecfb8fe17b434733b1bfc399b89e80e.tar.gz
cpython-3001c5463ecfb8fe17b434733b1bfc399b89e80e.tar.bz2
Final adjustments for #1601
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/build_tkinter.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/PCbuild/build_tkinter.py b/PCbuild/build_tkinter.py
index dada386..a7205d0 100644
--- a/PCbuild/build_tkinter.py
+++ b/PCbuild/build_tkinter.py
@@ -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())