From 4e76a0562a165a38960b51c8df2180f84885065b Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sun, 19 Mar 2023 20:59:16 -0700 Subject: [PATCH] Explicitly define _WIN32_WINNT Explicitly define _WIN32_WINNT to correspond to the minimum Windows version we are supporting (currently Windows Vista). --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 8c77b2eb..afeffd8c 100644 --- a/configure.ac +++ b/configure.ac @@ -36,7 +36,7 @@ mingw*) # Native Windows WINDOWS_NATIVE_BUILD="yes" # -D__MINGW_USE_VC2005_COMPAT: make time_t 64-bit on 32-bit Windows. - PLATFORM_CPPFLAGS="-D_POSIX -D_POSIX_THREAD_SAFE_FUNCTIONS -DUNICODE -D_UNICODE -D_CRT_NON_CONFORMING_SWPRINTFS -D__MINGW_USE_VC2005_COMPAT" + PLATFORM_CPPFLAGS="-D_POSIX -D_POSIX_THREAD_SAFE_FUNCTIONS -DUNICODE -D_UNICODE -D_CRT_NON_CONFORMING_SWPRINTFS -D__MINGW_USE_VC2005_COMPAT -D_WIN32_WINNT=0x0600" PLATFORM_CFLAGS="-municode -mno-ms-bitfields" PLATFORM_LDFLAGS="-no-undefined" WITH_NTFS_3G_DEFAULT="no" -- 2.43.0