X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbitcount.h;h=ad8df94ab078522066fdfa44da80c931fa732c88;hp=2300bc96452cef857a819b7ab73b3ddbe8f2cf3e;hb=03cd049c6858f5d1c4b7e50f08d7ddc45e0a029e;hpb=c5ec94d0f1b128fc2c691c7231663a345409d5cc 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