]> git.sesse.net Git - stockfish/blobdiff - src/misc.cpp
Stockfish 2.2
[stockfish] / src / misc.cpp
index 2fb5e816f0320f8a504afe8d8e961d10b2d6b5b2..ab56f293a10d082000be16eb767a126487b4b7c7 100644 (file)
@@ -55,7 +55,7 @@ using namespace std;
 /// Version number. If Version is left empty, then Tag plus current
 /// date (in the format YYMMDD) is used as a version number.
 
-static const string Version = "";
+static const string Version = "2.2";
 static const string Tag  = "";
 
 
@@ -191,11 +191,11 @@ void prefetch(char*) {}
 
 void prefetch(char* addr) {
 
-#if defined(__INTEL_COMPILER) || defined(__ICL)
+#  if defined(__INTEL_COMPILER) || defined(__ICL)
    // This hack prevents prefetches to be optimized away by
    // Intel compiler. Both MSVC and gcc seems not affected.
    __asm__ ("");
-#endif
+#  endif
 
   _mm_prefetch(addr, _MM_HINT_T2);
   _mm_prefetch(addr+64, _MM_HINT_T2); // 64 bytes ahead