X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Flock.h;h=b64293cf71f8c014e36bd61722b44dca2c5b37bc;hb=90890844ade67d8081a5284700cc2ef3ebdbb62d;hp=939b7da0ad544052b104ce04d0c1b13a92c02469;hpb=0fcda095df1caa860e8e3f3a714d5545ec9dc122;p=stockfish 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)