Files
MINGW-packages/mingw-w64-python/0108-configure.ac-set-_WIN32_WINNT-version.patch
Christoph Reiter 4177c0198b python: Update to 3.10.8
See https://github.com/msys2-contrib/cpython-mingw/pull/110

update-patches: remove git version signature to keep the diff smaller
2022-10-15 15:57:24 +02:00

26 lines
660 B
Diff

From 9e6fad823471e0f455d1445459a1104d1105b07b Mon Sep 17 00:00:00 2001
From: Christoph Reiter <reiter.christoph@gmail.com>
Date: Sun, 1 Aug 2021 15:18:50 +0200
Subject: [PATCH 108/N] configure.ac: set _WIN32_WINNT version
---
configure.ac | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/configure.ac b/configure.ac
index 60332d1..2ba3b29 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3497,6 +3497,11 @@ else
fi])
AC_MSG_RESULT($with_dbmliborder)
+case $host in
+ *-*-mingw*)
+ CFLAGS_NODIST="$CFLAGS_NODIST -D_WIN32_WINNT=0x0601";;
+esac
+
# Determine if windows modules should be used.
AC_SUBST(USE_WIN32_MODULE)
USE_WIN32_MODULE='#'