Files
MINGW-packages/mingw-w64-python/0094-configure.ac-set-_WIN32_WINNT-version.patch
2023-07-24 18:17:47 +02:00

26 lines
694 B
Diff

From 0f91d7c1cc9094abed41e15bdf51f72d313b298f 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 094/N] configure.ac: set _WIN32_WINNT version
---
configure.ac | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/configure.ac b/configure.ac
index 564fe63..5a543d5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4265,6 +4265,11 @@ AS_VAR_IF([with_dbmliborder], [error], [
])
AC_MSG_RESULT($with_dbmliborder)
+case $host in
+ *-*-mingw*)
+ CFLAGS_NODIST="$CFLAGS_NODIST -D_WIN32_WINNT=0x0602";;
+esac
+
# Determine if windows modules should be used.
AC_SUBST(USE_WIN32_MODULE)
USE_WIN32_MODULE='#'