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.
This commit is contained in:
Devon Loehr 2024-12-10 10:29:03 -05:00 committed by GitHub
parent ae52c9e66e
commit f4f93b5553
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -354,8 +354,7 @@ std::vector<CPUInfo::CacheInfo> 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