Skip to content

Commit

Permalink
Change SDK version check (#1887)
Browse files Browse the repository at this point in the history
Now that github seems to have updated its builders, perhaps we can check the SDK version the more standard way.
  • Loading branch information
DKLoehr authored Dec 10, 2024
1 parent ae52c9e commit f4f93b5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sysinfo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f4f93b5

Please sign in to comment.