mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 03:50:13 +01:00
mesa: remove CPU_TO_LE32() for AIX
This is the only remnant of AIX-specific code in Mesa. Probably long unused. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
3158b3abb3
commit
9816acff2c
1 changed files with 0 additions and 8 deletions
|
|
@ -98,14 +98,6 @@ extern "C" {
|
|||
#elif defined(__APPLE__)
|
||||
#include <CoreFoundation/CFByteOrder.h>
|
||||
#define CPU_TO_LE32( x ) CFSwapInt32HostToLittle( x )
|
||||
#elif (defined(_AIX))
|
||||
static inline GLuint CPU_TO_LE32(GLuint x)
|
||||
{
|
||||
return (((x & 0x000000ff) << 24) |
|
||||
((x & 0x0000ff00) << 8) |
|
||||
((x & 0x00ff0000) >> 8) |
|
||||
((x & 0xff000000) >> 24));
|
||||
}
|
||||
#elif defined(__OpenBSD__)
|
||||
#include <sys/types.h>
|
||||
#define CPU_TO_LE32( x ) htole32( x )
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue