mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Slowly apply part of #2065: py3k can be compiled with VS8.0
This commit is contained in:
parent
6166717fa4
commit
762681b515
2 changed files with 6 additions and 2 deletions
|
@ -158,11 +158,11 @@ WIN32 is still required for the locale module.
|
|||
/* set the version macros for the windows headers */
|
||||
#ifdef MS_WINX64
|
||||
/* 64 bit only runs on XP or greater */
|
||||
#define Py_WINVER _WIN32_WINNT_WINXP
|
||||
#define Py_WINVER 0x0501 /* _WIN32_WINNT_WINXP */
|
||||
#define Py_NTDDI NTDDI_WINXP
|
||||
#else
|
||||
/* Python 2.6+ requires Windows 2000 or greater */
|
||||
#define Py_WINVER _WIN32_WINNT_WIN2K
|
||||
#define Py_WINVER 0x0500 /* _WIN32_WINNT_WIN2K */
|
||||
#define Py_NTDDI NTDDI_WIN2KSP4
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue