summaryrefslogtreecommitdiff
path: root/PC/pyconfig.h
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2015-03-02 08:01:10 -0800
committerSteve Dower <steve.dower@microsoft.com>2015-03-02 08:01:10 -0800
commit547de7c7bdd902a96d8b74f35e3a24c4eeabaf2f (patch)
tree831e79465c2961a884ae7c239bfcea053e075d50 /PC/pyconfig.h
parent9144f6ff46b2952dfc477569cbee2d655b48eb20 (diff)
downloadcpython-547de7c7bdd902a96d8b74f35e3a24c4eeabaf2f.tar.gz
Issue #23451: Update pyconfig.h for Windows to require Vista headers and remove unnecessary version checks.
Diffstat (limited to 'PC/pyconfig.h')
-rw-r--r--PC/pyconfig.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index 328be0f362..324a1301b7 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