From: Matthieu Herrb Date: Sat, 11 Oct 2008 06:51:43 +0000 (+0200) Subject: Big endian fixes. X-Git-Tag: 062012170305~17671^2~309 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0f0922f93cbe997a95575c955ab1544bb5cd1d7d;p=profile%2Fivi%2Fmesa.git Big endian fixes. --- diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h index 1d0f178..626806d 100644 --- a/src/mesa/main/glheader.h +++ b/src/mesa/main/glheader.h @@ -146,7 +146,8 @@ #include #define CPU_TO_LE32( x ) bswap_32( x ) #else /*__linux__*/ -#define CPU_TO_LE32( x ) ( x ) /* fix me for non-Linux big-endian! */ +#include +#define CPU_TO_LE32( x ) bswap32( x ) #endif /*__linux__*/ #define MESA_BIG_ENDIAN 1 #else