commit | 9c3a10fdf6baa5ddb042b6adbef1ff1b3c613ce3 | [log] [tgz] |
---|---|---|
author | Richard Diamond <wichard@vitalitystudios.com> | Wed May 28 21:37:02 2014 -0500 |
committer | Jason Evans <jasone@canonware.com> | Mon Jun 02 07:44:50 2014 -0700 |
tree | e79722e22a5c17dbd0e18b6620e9a9af788d3852 | |
parent | 0b5c92213fbafc52c5b5a5dc84e91eacc812ae0b [diff] |
Try to use __builtin_ffsl if ffsl is unavailable. Some platforms (like those using Newlib) don't have ffs/ffsl. This commit adds a check to configure.ac for __builtin_ffsl if ffsl isn't found. __builtin_ffsl performs the same function as ffsl, and has the added benefit of being available on any platform utilizing Gcc-compatible compiler. This change does not address the used of ffs in the MALLOCX_ARENA() macro.