X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmisc.cpp;fp=src%2Fmisc.cpp;h=4e2d40579153cd757376399ec742213371277c72;hp=86c16d36174d3e0bac9616efa54bcb532312219e;hb=350dff446481b9e274e54dc727141f0dbfec0b23;hpb=96362fe3df141eeead4bdb863d2bb2d891886abf diff --git a/src/misc.cpp b/src/misc.cpp index 86c16d36..4e2d4057 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -23,6 +23,11 @@ #undef _WIN32_WINNT #define _WIN32_WINNT 0x0601 // Force to include needed API prototypes #endif + +#ifndef NOMINMAX +#define NOMINMAX +#endif + #include // The needed Windows API for processor groups could be missed from old Windows // versions, so instead of calling them directly (forcing the linker to resolve