Files
MINGW-packages/mingw-w64-python/0125-Revert-Adjust-Py_WINVER-for-our-Win-7-target.patch
Christoph Reiter 0acc575d30 python: Update
2021-08-08 14:58:36 +02:00

29 lines
974 B
Diff

From 9f09ab8856a9b220e700345ad3a8378f51a372e6 Mon Sep 17 00:00:00 2001
From: Christoph Reiter <reiter.christoph@gmail.com>
Date: Sun, 1 Aug 2021 15:18:28 +0200
Subject: [PATCH 125/N] Revert "Adjust Py_WINVER for our Win 7 target"
This reverts commit 44f87e70a74f9acde6536373a37e0623020a07a5.
---
PC/pyconfig.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index 6e9c090..d7d3cf0 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -136,8 +136,8 @@ WIN32 is still required for the locale module.
/* set the version macros for the windows headers */
/* Python 3.9+ requires Windows 8 or greater */
-#define Py_WINVER 0x0601 /* _WIN32_WINNT_WIN7 */
-#define Py_NTDDI NTDDI_WIN7
+#define Py_WINVER 0x0602 /* _WIN32_WINNT_WIN8 */
+#define Py_NTDDI NTDDI_WIN8
/* 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
--
2.32.0