diff --git a/foo.h b/foo.h index f8a94c1..6280dba 100644 --- a/foo.h +++ b/foo.h @@ -1,3 +1,5 @@ -/**/ +#define bit_for_each64(pos, tmp, ul) \ + for (tmp = ul, pos = ffs64(tmp); pos; tmp &= (tmp - 1), pos = ffs64(tmp)) + /**/ #define bit_for_each64(pos, tmp, ul) \ for (tmp = ul, pos = ffs64(tmp); pos; tmp &= (tmp - 1), pos = ffs64(tmp))