mesa: fix gcc version check for _mesa_bitcount

The version check was bogus, and only inside a non-gcc block anyway.
This commit is contained in:
Roland Scheidegger 2011-06-09 00:45:03 +02:00
parent b537f54b3a
commit da009212fe
1 changed files with 3 additions and 3 deletions

View File

@ -511,9 +511,10 @@ _mesa_ffsll(int64_t val)
return 0;
}
#endif
#if ((_GNUC__ == 3 && __GNUC_MINOR__ < 4) || __GNUC__ < 4)
#if !defined(__GNUC__) ||\
((_GNUC__ == 3 && __GNUC_MINOR__ < 4) && __GNUC__ < 4)
/**
* Return number of bits set in given GLuint.
*/
@ -527,7 +528,6 @@ _mesa_bitcount(unsigned int n)
return bits;
}
#endif
#endif
/**