diff options
author | marha <marha@users.sourceforge.net> | 2010-07-28 18:15:53 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-07-28 18:15:53 +0000 |
commit | 022d9c6cf6a67385d84ff33ce095f5c7f9f6d0cc (patch) | |
tree | 1c6bef40b9b16775f2d9b39f88d6224e0bea69ff /mesalib/src/mesa/main/imports.c | |
parent | 51e3b8e993cc874f4ac4ba4162c7aea00fe1a8eb (diff) | |
download | vcxsrv-022d9c6cf6a67385d84ff33ce095f5c7f9f6d0cc.tar.gz vcxsrv-022d9c6cf6a67385d84ff33ce095f5c7f9f6d0cc.tar.bz2 vcxsrv-022d9c6cf6a67385d84ff33ce095f5c7f9f6d0cc.zip |
Update to mesa 7,8,2
Diffstat (limited to 'mesalib/src/mesa/main/imports.c')
-rw-r--r-- | mesalib/src/mesa/main/imports.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mesalib/src/mesa/main/imports.c b/mesalib/src/mesa/main/imports.c index 1ae085336..b1389b25f 100644 --- a/mesalib/src/mesa/main/imports.c +++ b/mesalib/src/mesa/main/imports.c @@ -564,7 +564,8 @@ _mesa_ffsll(int64_t val) unsigned int _mesa_bitcount(unsigned int n) { -#if defined(__GNUC__) +#if defined(__GNUC__) && \ + ((_GNUC__ == 3 && __GNUC_MINOR__ >= 4) || __GNUC__ >= 4) return __builtin_popcount(n); #else unsigned int bits; |