X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmisc.cpp;h=99c00ebe4397e5a47677289c01936715224ebf84;hp=b650b96094a66d4a0fbaa0c4ce20a86b3d143e42;hb=41641e3b1eea0038ab6984766d2b3bca869be7fa;hpb=2f5aaf7de670b489e6a9635ae22713ed48e9f156 diff --git a/src/misc.cpp b/src/misc.cpp index b650b960..99c00ebe 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -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;