X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmisc.cpp;h=cad8e39d08d4ba6ba66f91c8cfc857d2eae3d219;hp=477fb392c6add636f01a46c7e0bf1b7ca51113c4;hb=7222f47350591190a97508f84131d80046f340ce;hpb=481eda4ca0121cfa16f5a29f364ca30ee2852409 diff --git a/src/misc.cpp b/src/misc.cpp index 477fb392..cad8e39d 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -178,7 +178,7 @@ void start_logger(bool b) { Logger::start(b); } int cpu_count() { -#if defined(_WIN32) || defined(_WIN64) +#if defined(_WIN32) SYSTEM_INFO s; GetSystemInfo(&s); return s.dwNumberOfProcessors; @@ -204,7 +204,7 @@ int cpu_count() { void timed_wait(WaitCondition& sleepCond, Lock& sleepLock, int msec) { -#if defined(_WIN32) || defined(_WIN64) +#if defined(_WIN32) int tm = msec; #else timespec ts, *tm = &ts;