diff options
author | obrien <obrien@FreeBSD.org> | 2003-08-03 07:53:50 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2003-08-03 07:53:50 +0000 |
commit | 3882b9d78381f4f0d8257c0813f89a17df9427a2 (patch) | |
tree | a92d5ede54dc3fdef042992bec9af2502b924e8d /sys | |
parent | 150d7d30367f534a88e6f31a6ac78f8f33369123 (diff) | |
download | FreeBSD-src-3882b9d78381f4f0d8257c0813f89a17df9427a2.zip FreeBSD-src-3882b9d78381f4f0d8257c0813f89a17df9427a2.tar.gz |
Deal with GCC annoyingly defining _BIG_ENDIAN.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/powerpc/include/endian.h | 1 |
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 */ |