Lower Windows SDK requirement

until github installs newer windows sdk
master
klzgrad 2026-09-12 14:02:46 +08:00
parent 7a7be31b2a
commit 8b73a5b69a
4 changed files with 6 additions and 6 deletions

View File

@ -27,8 +27,8 @@
#error VS 2017 Update 3.2 or higher is required
#endif
#if !defined(NTDDI_WIN11_BR)
#error Windows 10.0.28000.0 SDK or higher required.
#if !defined(NTDDI_WIN11_GE)
#error Windows 10.0.26100.0 SDK or higher required.
#endif
namespace base {

View File

@ -305,7 +305,7 @@ config("runtime_library") {
# manually override this config for their compiles.
config("winver") {
defines = [
"NTDDI_VERSION=NTDDI_WIN11_BR",
"NTDDI_VERSION=NTDDI_WIN11_GE",
# We can't say `=_WIN32_WINNT_WIN10` here because some files do
# `#if WINVER < 0x0600` without including windows.h before,

View File

@ -22,7 +22,7 @@ import action_helpers
import gn_helpers
SCRIPT_DIR = os.path.dirname(__file__)
SDK_VERSION = '10.0.28000.0'
SDK_VERSION = '10.0.26100.0'
MSVC_DIR = re.compile('^.*/VC/Tools/MSVC/[^/]+/include$')
WINDOWS_KITS_DIR = re.compile(r'^(.*/Windows Kits/\d+/Include/[^/]+)/.*')

View File

@ -59,8 +59,8 @@ from gn_helpers import ToGNString
# * docs/windows_build_instructions.md
# Make sure any version numbers in the documentation match the code.
#
TOOLCHAIN_HASH = '3bfcb536c8'
SDK_VERSION = '10.0.28000.0'
TOOLCHAIN_HASH = 'e66617bc68'
SDK_VERSION = '10.0.26100.0'
# Visual Studio versions are listed in descending order of priority.
# The first version is assumed by this script to be the one that is packaged,