From eeb086be33888b0e7b4be837f3d8a16d57689f0d Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sun, 3 Aug 2003 07:53:50 +0000 Subject: [PATCH] Deal with GCC annoyingly defining _BIG_ENDIAN. --- sys/powerpc/include/endian.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/powerpc/include/endian.h b/sys/powerpc/include/endian.h index 5d1c1cacad90..21bfe33d4c22 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 */