diff --git a/src/bitboard.cpp b/src/bitboard.cpp index e4fcb7ce..458f9318 100644 --- a/src/bitboard.cpp +++ b/src/bitboard.cpp @@ -339,7 +339,7 @@ Square first_1(Bitboard b) { /// pop_1st_bit() finds and clears the least significant nonzero bit in a /// nonzero bitboard. -#if defined(USE_32BIT_ATTACKS) +#if defined(USE_32BIT_ATTACKS) && defined(_WIN32) Square pop_1st_bit(Bitboard *bb) {