summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-12-16 08:04:23 -0700
committerBrian Paul <brianp@vmware.com>2009-12-16 08:04:25 -0700
commit138d639ec9d4454c646d94701365e25630d9f3da (patch)
tree1c1280f3bebf4953bd50fe3869016bac95652c51
parenta43fc39585c0d712244bbac5461e62f3a261d930 (diff)
mesa: test for __blrts for CPU_TO_LE32()
See bug 25663.
-rw-r--r--src/mesa/main/compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index 522295a9bf..a296404df7 100644
--- 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) | \