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:
parent
b537f54b3a
commit
da009212fe
|
@ -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
|
||||
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue