From f4f93b5553ced834b2120048f65690cddb4b7a2f Mon Sep 17 00:00:00 2001 From: Devon Loehr Date: Tue, 10 Dec 2024 10:29:03 -0500 Subject: [PATCH] Change SDK version check (#1887) Now that github seems to have updated its builders, perhaps we can check the SDK version the more standard way. --- src/sysinfo.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/sysinfo.cc b/src/sysinfo.cc index 71485982..49bff75e 100644 --- a/src/sysinfo.cc +++ b/src/sysinfo.cc @@ -354,8 +354,7 @@ std::vector GetCacheSizesWindows() { C.type = "Unknown"; switch (cache.Type) { // Windows SDK version >= 10.0.26100.0 -// 0x0A000010 is the value of NTDDI_WIN11_GE -#if NTDDI_VERSION >= 0x0A000010 +#ifdef NTDDI_WIN11_GE case CacheUnknown: break; #endif