include/SDL_bits.h
changeset 11433 b5e2b88d5193
parent 11314 d66e1e9ab531
child 11811 5d94cb6b24d3
     1.1 --- a/include/SDL_bits.h	Thu Aug 31 15:12:08 2017 -0700
     1.2 +++ b/include/SDL_bits.h	Thu Aug 31 15:17:59 2017 -0700
     1.3 @@ -60,7 +60,7 @@
     1.4  SDL_FORCE_INLINE int
     1.5  SDL_MostSignificantBitIndex32(Uint32 x)
     1.6  {
     1.7 -#if defined(__GNUC__) && __GNUC__ >= 4
     1.8 +#if defined(__GNUC__) && (__GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
     1.9      /* Count Leading Zeroes builtin in GCC.
    1.10       * http://gcc.gnu.org/onlinedocs/gcc-4.3.4/gcc/Other-Builtins.html
    1.11       */