powerpc is big endian
This commit is contained in:
parent
2416b3a23e
commit
f29d4c3f63
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user