From 3a987b00fc862d910088d6ac63af35bdd972c239 Mon Sep 17 00:00:00 2001 From: LIU Xiao Date: Wed, 3 Jul 2024 12:56:08 +0800 Subject: [PATCH] set _WIN32_WINNT=0x601 (WIN7) under mingw in Makefile --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f4ce4f1fb..d4b9f6b90 100644 --- a/Makefile +++ b/Makefile @@ -454,8 +454,7 @@ ifneq '' '$(findstring mingw,$(shell $(CC) -dumpmachine))' MK_CFLAGS += -Xassembler -muse-unaligned-vector-move MK_CXXFLAGS += -Xassembler -muse-unaligned-vector-move - # Target Windows 8 for PrefetchVirtualMemory - MK_CPPFLAGS += -D_WIN32_WINNT=0x602 + MK_CPPFLAGS += -D_WIN32_WINNT=0x601 endif ifneq ($(filter aarch64%,$(UNAME_M)),)