X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmisc.cpp;h=99c00ebe4397e5a47677289c01936715224ebf84;hp=b650b96094a66d4a0fbaa0c4ce20a86b3d143e42;hb=b917cd275e6f9825bc860d2fc7b7d67dacef2915;hpb=c9dcda6ac488c0058ebd567e1f52e30b8cd0db20 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;