mirror of
https://github.com/fluencelabs/musl
synced 2025-04-25 15:22:15 +00: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
|