mirror of
https://git.musl-libc.org/git/musl
synced 2025-02-25 22:54:18 +03:00

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
|