Deal with GCC annoyingly defining _BIG_ENDIAN.

This commit is contained in:
obrien 2003-08-03 07:53:50 +00:00
parent 05880247b0
commit 3dba7a6572

View File

@ -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 */