mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-12 12:07:12 +08:00
13 lines
379 B
C
13 lines
379 B
C
|
/* The MIPS architecture has selectable endianness.
|
||
|
Linux/MIPS exists in two both little and big endian flavours and we
|
||
|
want to be able to share the installed headerfiles between both,
|
||
|
so we define __BYTE_ORDER based on GCC's predefines. */
|
||
|
|
||
|
#ifdef __MIPSEB__
|
||
|
#define __BYTE_ORDER __BIG_ENDIAN
|
||
|
#else
|
||
|
#ifdef __MIPSEL__
|
||
|
#define __BYTE_ORDER __LITTLE_ENDIAN
|
||
|
#endif
|
||
|
#endif
|