summarylogtreecommitdiffstats
path: root/0125-Revert-Adjust-Py_WINVER-for-our-Win-7-target.patch
blob: 69638967d9c7fecd388bbfcbcd5ae4edd7537e1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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