Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Don't use __builtin_clz() on gcc2. (thanks, Axel!)

 Fixes Bugzilla #1771.
  • Loading branch information
icculus committed Mar 30, 2013
1 parent bac7510 commit 3acf1764c3136fcdf51d3f36ab8dc096639a3f88
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/SDL_bits.h
@@ -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
*/

0 comments on commit 3acf176

Please sign in to comment.