]> git.sesse.net Git - stockfish/blobdiff - src/movegen.cpp
Enable _BitScanForward64 at runtime
[stockfish] / src / movegen.cpp
index 4f1d14dee0ed4814db3aac1a5f124aac115dee28..c51bc37f82068352870ba098230c976d6b53b35a 100644 (file)
@@ -29,7 +29,7 @@
 
 // Simple macro to wrap a very common while loop, no facny, no flexibility,
 // hardcoded list name 'mlist' and from square 'from'.
-#define SERIALIZE_MOVES(b) while (b) (*mlist++).move = make_move(from, pop_1st_bit(&b))
+#define SERIALIZE_MOVES(b) while (b) (*mlist++).move = make_move(from, pop_1st_bit<false>(&b))
 
 ////
 //// Local definitions