]> git.sesse.net Git - stockfish/commitdiff
Fix compile error with MSVC 2013
authorMarco Costalba <mcostalba@gmail.com>
Sun, 18 Jan 2015 14:14:05 +0000 (15:14 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 18 Jan 2015 14:14:05 +0000 (15:14 +0100)
Without this std::min chokes with windows 'min' macro.

No functional change.

src/syzygy/tbprobe.cpp

index 0abd2b2e871994cafe0d063f502d3471e39953a6..126fe91cf779b1d5ff0cd32dd97c1de79bf3a955 100644 (file)
@@ -7,6 +7,8 @@
   this code to other chess engines.
 */
 
   this code to other chess engines.
 */
 
+#define NOMINMAX
+
 #include <algorithm>
 
 #include "../position.h"
 #include <algorithm>
 
 #include "../position.h"