X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbitcount.h;h=ad8df94ab078522066fdfa44da80c931fa732c88;hp=2300bc96452cef857a819b7ab73b3ddbe8f2cf3e;hb=49e110c52b19f5c99954d4797b8e991b0b60007c;hpb=9a1d5f0f1d8a12a85b198688d4f1d636a146eb7a diff --git a/src/bitcount.h b/src/bitcount.h index 2300bc96..ad8df94a 100644 --- a/src/bitcount.h +++ b/src/bitcount.h @@ -18,7 +18,7 @@ along with this program. If not, see . */ -#if !defined(BITCOUNT_H_INCLUDED) +#ifndef BITCOUNT_H_INCLUDED #define BITCOUNT_H_INCLUDED #include @@ -81,7 +81,7 @@ inline int popcount(Bitboard b) { template<> inline int popcount(Bitboard b) { -#if !defined(USE_POPCNT) +#ifndef USE_POPCNT assert(false); return b != 0; // Avoid 'b not used' warning @@ -102,4 +102,4 @@ inline int popcount(Bitboard b) { #endif } -#endif // !defined(BITCOUNT_H_INCLUDED) +#endif // #ifndef BITCOUNT_H_INCLUDED