]> git.sesse.net Git - stockfish/blobdiff - src/misc.cpp
More uniform tracing code
[stockfish] / src / misc.cpp
index 477fb392c6add636f01a46c7e0bf1b7ca51113c4..cad8e39d08d4ba6ba66f91c8cfc857d2eae3d219 100644 (file)
@@ -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;