mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Deal with GCC annoyingly defining _BIG_ENDIAN.
This commit is contained in:
parent
a98a5f06d3
commit
eeb086be33
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue