powerpc is big endian

This commit is contained in:
jsorg71 2005-12-09 03:10:16 +00:00
parent 2416b3a23e
commit f29d4c3f63

View File

@ -22,7 +22,7 @@
#define ARCH_H #define ARCH_H
/* check endianess */ /* check endianess */
#if defined(__sparc__) #if defined(__sparc__) || defined(__PPC__)
#define B_ENDIAN #define B_ENDIAN
#elif __BYTE_ORDER == __LITTLE_ENDIAN #elif __BYTE_ORDER == __LITTLE_ENDIAN
#define L_ENDIAN #define L_ENDIAN