Set minimum Windows API to Windows 8

Anything less won't compile because we're using
GetCurrentThreadStackLimits from Windows 8.
This commit is contained in:
Brian McKenna 2024-11-04 19:19:42 +11:00
parent 30f4f21887
commit 8ae5610c11

View file

@ -91,6 +91,7 @@ ifdef HOST_WINDOWS
#
# TODO do not do this, and instead do fine-grained export annotations.
GLOBAL_LDFLAGS += -Wl,--export-all-symbols
GLOBAL_CXXFLAGS += -D_WIN32_WINNT=0x0602
endif
GLOBAL_CXXFLAGS += -g -Wall -Wdeprecated-copy -Wignored-qualifiers -Wimplicit-fallthrough -Werror=unused-result -Werror=suggest-override -include $(buildprefix)config.h -std=c++2a -I src