X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmisc.cpp;h=4e2d40579153cd757376399ec742213371277c72;hb=82f7d507eaf83e27a33bf0b433be08d23320b6fe;hp=86c16d36174d3e0bac9616efa54bcb532312219e;hpb=83c828f31ef3c18dd3718f7935484111872e7ecd;p=stockfish 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