mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-11-15 07:19:53 +00:00
set _WIN32_WINNT=0x601 (WIN7) under mingw in Makefile
This commit is contained in:
parent
d3cd16601e
commit
3a987b00fc
3
Makefile
3
Makefile
@ -454,8 +454,7 @@ ifneq '' '$(findstring mingw,$(shell $(CC) -dumpmachine))'
|
|||||||
MK_CFLAGS += -Xassembler -muse-unaligned-vector-move
|
MK_CFLAGS += -Xassembler -muse-unaligned-vector-move
|
||||||
MK_CXXFLAGS += -Xassembler -muse-unaligned-vector-move
|
MK_CXXFLAGS += -Xassembler -muse-unaligned-vector-move
|
||||||
|
|
||||||
# Target Windows 8 for PrefetchVirtualMemory
|
MK_CPPFLAGS += -D_WIN32_WINNT=0x601
|
||||||
MK_CPPFLAGS += -D_WIN32_WINNT=0x602
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(filter aarch64%,$(UNAME_M)),)
|
ifneq ($(filter aarch64%,$(UNAME_M)),)
|
||||||
|
Loading…
Reference in New Issue
Block a user