summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/powerpc/include/endian.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/powerpc/include/endian.h b/sys/powerpc/include/endian.h
index 5d1c1ca..21bfe33 100644
--- a/sys/powerpc/include/endian.h
+++ b/sys/powerpc/include/endian.h
@@ -51,6 +51,7 @@
* Definitions for byte order, according to byte significance from low
* address to high.
*/
+#undef _BIG_ENDIAN /* GCC annoyingly defines this for PowerPC */
#define _LITTLE_ENDIAN 1234 /* LSB first: i386, vax */
#define _BIG_ENDIAN 4321 /* MSB first: 68000, ibm, net */
#define _PDP_ENDIAN 3412 /* LSB first in word, MSW first in long */
OpenPOWER on IntegriCloud