diff options
author | atomlong | 2021-08-28 11:19:04 +0800 |
---|---|---|
committer | atomlong | 2021-08-28 13:15:13 +0800 |
commit | 89a67c05174951d172252b1db96ff93cc4ec4bcd (patch) | |
tree | d8c39fa79b201cf9aea28c51e7446a252ed8fee4 /0125-Revert-Adjust-Py_WINVER-for-our-Win-7-target.patch | |
parent | cf8d8d8771493a2aa8370ed323d06dc733a84181 (diff) | |
download | aur-89a67c05174951d172252b1db96ff93cc4ec4bcd.tar.gz |
Update to 3.9.6
Diffstat (limited to '0125-Revert-Adjust-Py_WINVER-for-our-Win-7-target.patch')
-rw-r--r-- | 0125-Revert-Adjust-Py_WINVER-for-our-Win-7-target.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/0125-Revert-Adjust-Py_WINVER-for-our-Win-7-target.patch b/0125-Revert-Adjust-Py_WINVER-for-our-Win-7-target.patch new file mode 100644 index 000000000000..69638967d9c7 --- /dev/null +++ b/0125-Revert-Adjust-Py_WINVER-for-our-Win-7-target.patch @@ -0,0 +1,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 + |