1
0
mirror of https://github.com/google/benchmark.git synced 2025-03-31 14:40:29 +08:00

Change SDK version check

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:09:55 -05:00 committed by GitHub
parent ae52c9e66e
commit 84197dd16e
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