On the use of ffs
Jason Evans
jasone at canonware.com
Thu Apr 19 17:38:45 PDT 2012
On Apr 19, 2012, at 9:56 AM, Mike Hommey wrote:
> Hi,
>
> Since MSVC doesn't have strings.h or ffs/ffsl, I took a look at the
> various uses of ffs/ffsl, and it seems to me all uses of ffs should
> actually be ffsl. Any thoughts?
I ran into problems trying to use ffsl() in the ALLOCM_ALIGN() macro, because of Linux's Byzantine _GNU_SOURCE requirements to get its definition. The other remaining uses of ffs() are correct, though ffsl() would work fine.
Jason
More information about the jemalloc-discuss
mailing list