X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbitboard.cpp;h=39da197646e50e13824c6613773ad3f46a6cdedd;hp=3f855c574e6c0e0cc4377820218559f9bbf331e8;hb=002062ae934c1fae3e56157e8e7e6451b552ada5;hpb=4064ee540649cb46ad4cc4a6080bd4ef41314cb9 diff --git a/src/bitboard.cpp b/src/bitboard.cpp index 3f855c57..39da1976 100644 --- a/src/bitboard.cpp +++ b/src/bitboard.cpp @@ -83,7 +83,7 @@ namespace { /// lsb()/msb() finds the least/most significant bit in a nonzero bitboard. /// pop_lsb() finds and clears the least significant bit in a nonzero bitboard. -#if !defined(USE_BSFQ) +#ifndef USE_BSFQ Square lsb(Bitboard b) { return BSFTable[bsf_index(b)]; } @@ -122,7 +122,7 @@ Square msb(Bitboard b) { return (Square)(result + MS1BTable[b32]); } -#endif // !defined(USE_BSFQ) +#endif // ifndef USE_BSFQ /// Bitboards::print() prints a bitboard in an easily readable format to the