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:
parent
ae52c9e66e
commit
84197dd16e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user