Update for 2022 winsdk

This commit is contained in:
Alexander David Frick 2022-04-04 10:14:01 -05:00 committed by GitHub
parent e40b81e290
commit 5789ae0ff7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,9 +124,10 @@ config("compiler") {
# next step after SSE2 will be AVX.
if (current_cpu == "x86" || current_cpu == "x64") {
cflags += [
"/arch:AVX",
"/clang:-mavx",
"/clang:-maes",
"-mavx",
"-maes",
"/clang:-O3",
"-Xclang", "-O3",
"-Wno-unused-command-line-argument",
]
}
@ -294,7 +295,7 @@ config("runtime_library") {
# manually override this config for their compiles.
config("winver") {
defines = [
"NTDDI_VERSION=NTDDI_WIN10_VB",
"NTDDI_VERSION=NTDDI_WIN10_FE",
# We can't say `=_WIN32_WINNT_WIN10` here because some files do
# `#if WINVER < 0x0600` without including windows.h before,