set _WIN32_WINNT=0x601 (WIN7) under mingw in Makefile

This commit is contained in:
LIU Xiao 2024-07-03 12:56:08 +08:00
parent d3cd16601e
commit 3a987b00fc

View File

@ -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)),)