diff options
Diffstat (limited to 'xorg-server/include/servermd.h')
-rwxr-xr-x | xorg-server/include/servermd.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/xorg-server/include/servermd.h b/xorg-server/include/servermd.h index b785e931d..fff6ed156 100755 --- a/xorg-server/include/servermd.h +++ b/xorg-server/include/servermd.h @@ -114,8 +114,13 @@ SOFTWARE. #if defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) -#define IMAGE_BYTE_ORDER MSBFirst -#define BITMAP_BIT_ORDER MSBFirst +#if defined(__LITTLE_ENDIAN__) +#define IMAGE_BYTE_ORDER LSBFirst +#define BITMAP_BIT_ORDER LSBFirst +#else +#define IMAGE_BYTE_ORDER MSBFirst +#define BITMAP_BIT_ORDER MSBFirst +#endif #define GLYPHPADBYTES 4 #endif /* PowerPC */ |