mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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.
This commit is contained in:
parent
6951fea3ab
commit
3f50bf652b
6 changed files with 16 additions and 51 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue