mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-27 04:26:24 +08:00
Replaced macros Min() and Max() with corresponding STL algorithms std::min() and std::max()
This commit is contained in:
@@ -38,9 +38,11 @@ typedef pthread_cond_t WaitCondition;
|
||||
|
||||
#else
|
||||
|
||||
#define NOMINMAX // disable macros min() and max()
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#undef WIN32_LEAN_AND_MEAN
|
||||
#undef NOMINMAX
|
||||
|
||||
// Default fast and race free locks and condition variables
|
||||
#if !defined(OLD_LOCKS)
|
||||
|
||||
Reference in New Issue
Block a user