mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
Deal with GCC annoyingly defining _BIG_ENDIAN.
This commit is contained in:
parent
a98a5f06d3
commit
eeb086be33
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118383
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user