Files
MINGW-packages/mingw-w64-python/0108-configure.ac-set-_WIN32_WINNT-version.patch
2023-02-10 12:56:41 +01:00

26 lines
660 B
Diff

From 9122f7602f548c2d3bc9313db88a7846a8210575 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 ced0d09..8923bb8 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='#'