Don't use __builtin_clz() on gcc2. (thanks, Axel!)
Fixes Bugzilla #1771.
This commit is contained in:
parent
b7b75855ec
commit
6432ccda7f
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ extern "C" {
|
|||
SDL_FORCE_INLINE Sint8
|
||||
SDL_MostSignificantBitIndex32(Uint32 x)
|
||||
{
|
||||
#if defined(__GNUC__)
|
||||
#if defined(__GNUC__) && __GNUC__ >= 4
|
||||
/* Count Leading Zeroes builtin in GCC.
|
||||
* http://gcc.gnu.org/onlinedocs/gcc-4.3.4/gcc/Other-Builtins.html
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue