diff --git a/foo.h b/foo.h index 08d964e..2ca7dea 100644 --- a/foo.h +++ b/foo.h @@ -1,2 +1,5 @@ +#define bit_for_each64_2(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)) +