mirror of
git://git.musl-libc.org/musl
synced 2024-12-22 06:40:57 +00:00
5c27c4458f
default endianness for sh on linux is little, and while conventions vary, "eb" seems to be the most widely used suffix for big endian.
6 lines
103 B
C
6 lines
103 B
C
#if __BIG_ENDIAN__
|
|
#define __BYTE_ORDER __BIG_ENDIAN
|
|
#else
|
|
#define __BYTE_ORDER __LITTLE_ENDIAN
|
|
#endif
|