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