diff options
Diffstat (limited to 'PC/pyconfig.h')
-rw-r--r-- | PC/pyconfig.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h index 1892cf1..a170e77 100644 --- a/PC/pyconfig.h +++ b/PC/pyconfig.h @@ -162,9 +162,15 @@ WIN32 is still required for the locale module. #define Py_NTDDI NTDDI_WINXP #else /* Python 2.6+ requires Windows 2000 or greater */ +#ifdef _WIN32_WINNT_WIN2K #define Py_WINVER _WIN32_WINNT_WIN2K +#else +#define Py_WINVER 0x0500 +#endif +#ifdef NTDDI_WIN2KSP4 #define Py_NTDDI NTDDI_WIN2KSP4 #endif +#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 |