]> git.sesse.net Git - stockfish/blobdiff - src/bitboard.cpp
Rewrite bsfq management
[stockfish] / src / bitboard.cpp
index 47dce42eabb55315ff36bf325f90f28e53fc10e3..4ea69ebc757df81fbea8f70d79e1d54c7d568446 100644 (file)
@@ -76,7 +76,7 @@ namespace {
   }
 }
 
   }
 }
 
-#ifndef USE_BSFQ
+#ifdef NO_BSF
 
 /// Software fall-back of lsb() and msb() for CPU lacking hardware support
 
 
 /// Software fall-back of lsb() and msb() for CPU lacking hardware support
 
@@ -112,7 +112,7 @@ Square msb(Bitboard b) {
   return Square(result + MSBTable[b32]);
 }
 
   return Square(result + MSBTable[b32]);
 }
 
-#endif // ifndef USE_BSFQ
+#endif // ifdef NO_BSF
 
 
 /// Bitboards::pretty() returns an ASCII representation of a bitboard suitable
 
 
 /// Bitboards::pretty() returns an ASCII representation of a bitboard suitable