summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/arch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/arch.h b/common/arch.h
index f7d7c335..2b5d6bc0 100644
--- a/common/arch.h
+++ b/common/arch.h
@@ -22,7 +22,7 @@
#define ARCH_H
/* check endianess */
-#if defined(__sparc__)
+#if defined(__sparc__) || defined(__PPC__)
#define B_ENDIAN
#elif __BYTE_ORDER == __LITTLE_ENDIAN
#define L_ENDIAN