mesa: remove platform checks around __builtin_ffs, __builtin_ffsll
authorBrian Paul <brianp@vmware.com>
Thu, 28 Mar 2013 23:06:35 +0000 (17:06 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 1 Apr 2013 14:40:35 +0000 (08:40 -0600)
commit95df2b28831147b3e7ce2a3b6257bf60c46b4ab4
tree8e854f67e01de73969c55df00e342f3dc556425e
parent99811c344b830c2aa7910a6723be7e7ef0e8b327
mesa: remove platform checks around __builtin_ffs, __builtin_ffsll

Use the __builtin_ffs, __builtin_ffsll functions whenever we have GCC,
not just for specific platforms.  Fixes Solaris build.

Note: This is a candidate for the stable branches.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=62868
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mesa/main/imports.h