summaryrefslogtreecommitdiff
path: root/PC/pyconfig.h
diff options
context:
space:
mode:
authorMartin v. L?wis <martin@v.loewis.de>2013-01-25 14:06:18 +0100
committerMartin v. L?wis <martin@v.loewis.de>2013-01-25 14:06:18 +0100
commit8b27f0efd0c64adf15140fd4fa2856da224cf62e (patch)
tree333ccafe53dac8991509f06aec38805fa9a908fd /PC/pyconfig.h
parent025f01e7920a073bd5611d3df077fe376d7ceac5 (diff)
downloadcpython-8b27f0efd0c64adf15140fd4fa2856da224cf62e.tar.gz
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 'PC/pyconfig.h')
-rw-r--r--PC/pyconfig.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index 5025921fab..fb78bb971c 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -156,15 +156,9 @@ WIN32 is still required for the locale module.
#endif /* MS_WIN64 */
/* set the version macros for the windows headers */
-#ifdef MS_WINX64
-/* 64 bit only runs on XP or greater */
+/* Python 3.4+ requires Windows XP or greater */
#define Py_WINVER 0x0501 /* _WIN32_WINNT_WINXP */
#define Py_NTDDI NTDDI_WINXP
-#else
-/* Python 2.6+ requires Windows 2000 or greater */
-#define Py_WINVER 0x0500 /* _WIN32_WINNT_WIN2K */
-#define Py_NTDDI NTDDI_WIN2KSP4
-#endif
/* We only set these values when building Python - we don't want to force
these values on extensions, as that will affect the prototypes and