diff options
author | Brian Paul <[email protected]> | 2009-12-16 08:04:23 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-12-16 08:04:25 -0700 |
commit | 138d639ec9d4454c646d94701365e25630d9f3da (patch) | |
tree | 1c1280f3bebf4953bd50fe3869016bac95652c51 /src/mesa | |
parent | a43fc39585c0d712244bbac5461e62f3a261d930 (diff) |
mesa: test for __blrts for CPU_TO_LE32()
See bug 25663.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/compiler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h index 522295a9bfe..a296404df75 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) | \ |