Skip to content

Commit

Permalink
Update winsdk ver
Browse files Browse the repository at this point in the history
  • Loading branch information
halx99 committed May 31, 2022
1 parent feef417 commit 2cf4c3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion angle/build/config/win/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ config("runtime_library") {
# manually override this config for their compiles.
config("winver") {
defines = [
"NTDDI_VERSION=NTDDI_WIN10_CO",
"NTDDI_VERSION=NTDDI_WIN10_NI",

# We can't say `=_WIN32_WINNT_WIN10` here because some files do
# `#if WINVER < 0x0600` without including windows.h before,
Expand Down
2 changes: 1 addition & 1 deletion angle/build/toolchain/win/setup_toolchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def _LoadToolchainEnv(cpu, toolchain_root, sdk_dir, target_store):
# Explicitly specifying the SDK version to build with to avoid accidentally
# building with a new and untested SDK. This should stay in sync with the
# packaged toolchain in build/vs_toolchain.py.
args.append('10.0.22000.0')
args.append('10.0.22621.0')
variables = _LoadEnvFromBat(args)
return _ExtractImportantEnvironment(variables)

Expand Down

0 comments on commit 2cf4c3e

Please sign in to comment.