Files
MINGW-packages/mingw-w64-python3.10/0108-configure.ac-set-_WIN32_WINNT-version.patch
2022-03-13 21:58:26 +05:30

30 lines
722 B
Diff

From ca40519e01e45100054e8ae09624f40a37209d3b 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
Signed-off-by: Naveen M K <naveen521kk@gmail.com>
---
configure.ac | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/configure.ac b/configure.ac
index 00896ca..3d31cf3 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.35.1