mirror of
https://github.com/google/benchmark.git
synced 2024-12-25 20:10:13 +08:00
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:
parent
ae52c9e66e
commit
f4f93b5553
@ -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