From: Brian Paul Date: Sun, 8 Mar 2015 22:46:39 +0000 (-0600) Subject: mesa: remove CPU_TO_LE32() for AIX X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9816acff2ca570e248652fe05ac4ee3ce02bd2ab;p=mesa.git 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 --- 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 #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 #define CPU_TO_LE32( x ) htole32( x )