summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2013-01-25 13:06:18 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2013-01-25 13:06:18 (GMT)
commit3f50bf652bae5e3371972eb261973238c62cc17b (patch)
tree09cd30b06c22e1222af8764c1defee6cde3eca9c /PCbuild
parent6951fea3abb64a3820d623efce182fefdcbae978 (diff)
downloadcpython-3f50bf652bae5e3371972eb261973238c62cc17b.zip
cpython-3f50bf652bae5e3371972eb261973238c62cc17b.tar.gz
cpython-3f50bf652bae5e3371972eb261973238c62cc17b.tar.bz2
Drop support for Windows 2000; allow any XP API (but not Vista+).
Drop SDK version configuration for Tk compilation, to not bind it to W2k anymore. Binding it to XP would conflict with Tk's own binding of tkMenu to W2k.
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/build_tkinter.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/PCbuild/build_tkinter.py b/PCbuild/build_tkinter.py
index 4196cf3..9f08631 100644
--- a/PCbuild/build_tkinter.py
+++ b/PCbuild/build_tkinter.py
@@ -16,11 +16,7 @@ TK = "tk8.5.11"
TIX = "tix-8.4.3.x"
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 -D_WIN32_WINNT=0x0500 -DNTDDI_VERSION=NTDDI_WIN2KSP4\" '
- '%s %s')
+NMAKE = ('nmake /nologo /f %s %s %s')
def nmake(makefile, command="", **kw):
defines = ' '.join(k+'='+str(v) for k, v in kw.items())