projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a43fc39
)
mesa: test for __blrts for CPU_TO_LE32()
author
Brian Paul
<brianp@vmware.com>
Wed, 16 Dec 2009 15:04:23 +0000
(08:04 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 16 Dec 2009 15:04:25 +0000
(08:04 -0700)
See bug 25663.
src/mesa/main/compiler.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/compiler.h
b/src/mesa/main/compiler.h
index
522295a
..
a296404
100644
(file)
--- a/
src/mesa/main/compiler.h
+++ b/
src/mesa/main/compiler.h
@@
-235,7
+235,7
@@
extern "C" {
#elif defined(__APPLE__)
#include <CoreFoundation/CFByteOrder.h>
#define CPU_TO_LE32( x ) CFSwapInt32HostToLittle( x )
-#elif
defined(_AIX
)
+#elif
(defined(_AIX) || defined(__blrts)
)
#define CPU_TO_LE32( x ) x = ((x & 0x000000ff) << 24) | \
((x & 0x0000ff00) << 8) | \
((x & 0x00ff0000) >> 8) | \