diff options
author | Brian Paul <[email protected]> | 2015-03-08 16:46:39 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-03-11 09:34:25 -0600 |
commit | 9816acff2ca570e248652fe05ac4ee3ce02bd2ab (patch) | |
tree | ad78dd82c93894ca745c50ba566325d765b3060d /src/mesa/main | |
parent | 3158b3abb34abc9f61e4b5161411e5e83640d42d (diff) |
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 <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/compiler.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h index 06c4b5c301b..6fded883613 100644 --- a/src/mesa/main/compiler.h +++ b/src/mesa/main/compiler.h @@ -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 ) |