Files
MINGW-packages/mingw-w64-python/0126-Set-_WIN32_WINNT-version-in-configure.ac.patch
Christoph Reiter 0acc575d30 python: Update
2021-08-08 14:58:36 +02:00

29 lines
674 B
Diff

From 32c54c2c248fe463a4b0078cb945f1845178780a 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 126/N] Set _WIN32_WINNT version in configure.ac
---
configure.ac | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/configure.ac b/configure.ac
index 736e1b9..82bea12 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3470,6 +3470,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='#'
--
2.32.0