mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Issue #23451: Update pyconfig.h for Windows to require Vista headers and remove unnecessary version checks.
This commit is contained in:
parent
2f3d440549
commit
3e96f324dc
6 changed files with 29 additions and 68 deletions
|
|
@ -156,9 +156,9 @@ WIN32 is still required for the locale module.
|
|||
#endif /* MS_WIN64 */
|
||||
|
||||
/* set the version macros for the windows headers */
|
||||
/* Python 3.4+ requires Windows XP or greater */
|
||||
#define Py_WINVER 0x0501 /* _WIN32_WINNT_WINXP */
|
||||
#define Py_NTDDI NTDDI_WINXP
|
||||
/* Python 3.5+ requires Windows Vista or greater */
|
||||
#define Py_WINVER 0x0600 /* _WIN32_WINNT_VISTA */
|
||||
#define Py_NTDDI NTDDI_VISTA
|
||||
|
||||
/* 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