mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-14 00:59:17 +08:00
rtems-bsd-endian.h: Fix warning on PowerPC
This commit is contained in:
parent
e33fe4acda
commit
162d615ff3
@ -46,7 +46,11 @@
|
||||
#if __BSD_VISIBLE
|
||||
|
||||
#define _BYTE_ORDER BYTE_ORDER
|
||||
|
||||
/* On PowerPC this is a GCC built-in define */
|
||||
#undef _BIG_ENDIAN
|
||||
#define _BIG_ENDIAN BIG_ENDIAN
|
||||
|
||||
#define _LITTLE_ENDIAN LITTLE_ENDIAN
|
||||
|
||||
#if BYTE_ORDER == BIG_ENDIAN
|
||||
|
Loading…
x
Reference in New Issue
Block a user