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 #error VS 2017 Update 3.2 or higher is required
#endif #endif
#if !defined(NTDDI_WIN11_BR) #if !defined(NTDDI_WIN11_GE)
#error Windows 10.0.28000.0 SDK or higher required. #error Windows 10.0.26100.0 SDK or higher required.
#endif #endif
namespace base { namespace base {

View File

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

View File

@ -22,7 +22,7 @@ import action_helpers
import gn_helpers import gn_helpers
SCRIPT_DIR = os.path.dirname(__file__) 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$') MSVC_DIR = re.compile('^.*/VC/Tools/MSVC/[^/]+/include$')
WINDOWS_KITS_DIR = re.compile(r'^(.*/Windows Kits/\d+/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 # * docs/windows_build_instructions.md
# Make sure any version numbers in the documentation match the code. # Make sure any version numbers in the documentation match the code.
# #
TOOLCHAIN_HASH = '3bfcb536c8' TOOLCHAIN_HASH = 'e66617bc68'
SDK_VERSION = '10.0.28000.0' SDK_VERSION = '10.0.26100.0'
# Visual Studio versions are listed in descending order of priority. # 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, # The first version is assumed by this script to be the one that is packaged,