Files
MINGW-packages/mingw-w64-python/0108-configure.ac-set-_WIN32_WINNT-version.patch
2022-06-10 17:54:24 +02:00

29 lines
672 B
Diff

From cc9cabf86dc4c97c776fcfcf0bb31d02b5b7aef6 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 2cee721..2d7c11c 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='#'
--
2.36.1