mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
Use optimized pop_1st_bit() only under Windows
Under Linux we have a segfault after a random time, about a couple of minutes while running the benchmark. This happens both with gcc and icc, and both with O2 and O3 optimizations. Disable for Linux until we understand what's the deal. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
cde7b30b65
commit
29b01b6d82
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue