diff --git a/src/sysinfo.cc b/src/sysinfo.cc index 714859826..49bff75e5 100644 --- a/src/sysinfo.cc +++ b/src/sysinfo.cc @@ -354,8 +354,7 @@ std::vector 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