From 9d502da06d179d598c2167ca0b97756e19d687c2 Mon Sep 17 00:00:00 2001 From: Cameron Desrochers Date: Wed, 13 Nov 2019 12:17:31 -0500 Subject: Removed unnecessary #ifdef following code review --- src/util.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/util.cc b/src/util.cc index ba63ab3..ac4f247 100644 --- a/src/util.cc +++ b/src/util.cc @@ -481,7 +481,6 @@ string StripAnsiEscapeCodes(const string& in) { int GetProcessorCount() { #ifdef _WIN32 -#if _WIN32_WINNT >= _WIN32_WINNT_WIN7 // Need to use GetLogicalProcessorInformationEx to get real core count on // machines with >64 cores. See https://stackoverflow.com/a/31209344/21475 DWORD len = 0; @@ -506,7 +505,7 @@ int GetProcessorCount() { return cores; } } -#endif + // fallback just in case return GetActiveProcessorCount(ALL_PROCESSOR_GROUPS); #else #ifdef CPU_COUNT -- cgit v0.12