X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmisc.cpp;h=3206a2d1950081229b0e9d3f623ba2db66dc8f81;hp=459c13ccccf887e6e72a8c8be9eafe633c6fed4c;hb=72641dcaae2241c830254fc19b742eb477d831a3;hpb=11b0c7b44a2ce6b0a39bcb40849dd88b40d49a09
diff --git a/src/misc.cpp b/src/misc.cpp
index 459c13cc..3206a2d1 100644
--- a/src/misc.cpp
+++ b/src/misc.cpp
@@ -17,24 +17,6 @@
along with this program. If not, see .
*/
-#if defined(_WIN32) || defined(_WIN64)
-
-#define NOMINMAX // disable macros min() and max()
-#include
-
-#else
-
-# include
-# if defined(__hpux)
-# include
-# endif
-
-#endif
-
-#if !defined(NO_PREFETCH)
-# include
-#endif
-
#include
#include
#include
@@ -42,6 +24,10 @@
#include "misc.h"
#include "thread.h"
+#if defined(__hpux)
+# include
+#endif
+
using namespace std;
/// Version number. If Version is left empty, then Tag plus current
@@ -219,6 +205,8 @@ void prefetch(char*) {}
#else
+# include
+
void prefetch(char* addr) {
# if defined(__INTEL_COMPILER) || defined(__ICL)