mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
mesa: test for __blrts for CPU_TO_LE32()
See bug 25663.
This commit is contained in:
parent
a43fc39585
commit
138d639ec9
1 changed files with 1 additions and 1 deletions
|
|
@ -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) | \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue