]> git.sesse.net Git - stockfish/blobdiff - src/misc.cpp
Assorted tweaks from DON
[stockfish] / src / misc.cpp
index b650b96094a66d4a0fbaa0c4ce20a86b3d143e42..99c00ebe4397e5a47677289c01936715224ebf84 100644 (file)
@@ -144,10 +144,10 @@ std::ostream& operator<<(std::ostream& os, SyncCout sc) {
 
   static Mutex m;
 
-  if (sc == io_lock)
+  if (sc == IO_LOCK)
       m.lock();
 
-  if (sc == io_unlock)
+  if (sc == IO_UNLOCK)
       m.unlock();
 
   return os;