X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Flock.h;fp=src%2Flock.h;h=b64293cf71f8c014e36bd61722b44dca2c5b37bc;hp=939b7da0ad544052b104ce04d0c1b13a92c02469;hb=5c8af7ccb8f59f901740d5a8f4a9270f69487583;hpb=7942e6f3bf1a2a4ef452e1e98ab6e6c866217cae diff --git a/src/lock.h b/src/lock.h index 939b7da0..b64293cf 100644 --- a/src/lock.h +++ b/src/lock.h @@ -38,9 +38,11 @@ typedef pthread_cond_t WaitCondition; #else +#define NOMINMAX // disable macros min() and max() #define WIN32_LEAN_AND_MEAN #include #undef WIN32_LEAN_AND_MEAN +#undef NOMINMAX // Default fast and race free locks and condition variables #if !defined(OLD_LOCKS)