another check for powerpc

This commit is contained in:
jsorg71 2007-05-26 21:03:22 +00:00
parent 63b3893dd5
commit 7661472b66
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@
#define ARCH_H
/* check endianess */
#if defined(__sparc__) || defined(__PPC__)
#if defined(__sparc__) || defined(__PPC__) || defined(__ppc__)
#define B_ENDIAN
#elif __BYTE_ORDER == __LITTLE_ENDIAN
#define L_ENDIAN
@ -35,7 +35,7 @@
/* check if we need to align data */
#if defined(__sparc__) || defined(__alpha__) || defined(__hppa__) || \
defined(__AIX__) || defined(__PPC__) || defined(__mips__) || \
defined(__ia64__)
defined(__ia64__) || defined(__ppc__)
#define NEED_ALIGN
#endif