mesa: test for __blrts for CPU_TO_LE32()

See bug 25663.
This commit is contained in:
Brian Paul 2009-12-16 08:04:23 -07:00
parent a43fc39585
commit 138d639ec9

View file

@ -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) | \