From: Marco Costalba Date: Sun, 1 Apr 2012 11:00:15 +0000 (+0100) Subject: Retire platform specifics include in misc.cpp X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=72641dcaae2241c830254fc19b742eb477d831a3 Retire platform specifics include in misc.cpp Now that platform.h is included in types.h we don't need this stuff anymore. No functional change. Signed-off-by: Marco Costalba --- 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)