projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6d5e58
)
gallium/util: __builtin_bswap32() is in only gcc 4.3 or later
author
Brian Paul
<brianp@vmware.com>
Wed, 2 Dec 2009 16:23:15 +0000
(09:23 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 2 Dec 2009 16:23:15 +0000
(09:23 -0700)
src/gallium/auxiliary/util/u_math.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_math.h
b/src/gallium/auxiliary/util/u_math.h
index a5cd6574c0ec6c0abb49926932b061f41eb1f06f..b76592d1ec61d2d99569d86a1d3c5c89231add20 100644
(file)
--- a/
src/gallium/auxiliary/util/u_math.h
+++ b/
src/gallium/auxiliary/util/u_math.h
@@
-520,7
+520,7
@@
util_bitcount(unsigned n)
static INLINE uint32_t
util_bswap32(uint32_t n)
{
-#if defined(PIPE_CC_GCC)
+#if defined(PIPE_CC_GCC)
&& (PIPE_CC_GCC_VERSION >= 403)
return __builtin_bswap32(n);
#else
return (n >> 24) |