diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2013-01-25 13:06:18 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2013-01-25 13:06:18 (GMT) |
commit | 3f50bf652bae5e3371972eb261973238c62cc17b (patch) | |
tree | 09cd30b06c22e1222af8764c1defee6cde3eca9c /PC/pyconfig.h | |
parent | 6951fea3abb64a3820d623efce182fefdcbae978 (diff) | |
download | cpython-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 'PC/pyconfig.h')
-rw-r--r-- | PC/pyconfig.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h index 5025921..fb78bb9 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 |