summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2015-03-02 16:01:10 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2015-03-02 16:01:10 (GMT)
commit3e96f324dcdbeb78fcd8fa4ffe2cd0c67f3828b2 (patch)
treee717f66fa69341710e7a5f35300714c40011d595 /PC
parent2f3d440549345857c7b1a6deb377b5b69052f639 (diff)
downloadcpython-3e96f324dcdbeb78fcd8fa4ffe2cd0c67f3828b2.zip
cpython-3e96f324dcdbeb78fcd8fa4ffe2cd0c67f3828b2.tar.gz
cpython-3e96f324dcdbeb78fcd8fa4ffe2cd0c67f3828b2.tar.bz2
Issue #23451: Update pyconfig.h for Windows to require Vista headers and remove unnecessary version checks.
Diffstat (limited to 'PC')
-rw-r--r--PC/pyconfig.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index 328be0f..324a130 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -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