mirror of
git://git.musl-libc.org/musl
synced 2024-12-25 08:02:28 +00:00
16 lines
314 B
C
16 lines
314 B
C
#ifdef __BIG_ENDIAN__
|
|
#if __BIG_ENDIAN__
|
|
#define __BYTE_ORDER __BIG_ENDIAN
|
|
#endif
|
|
#endif /* __BIG_ENDIAN__ */
|
|
|
|
#ifdef __LITTLE_ENDIAN__
|
|
#if __LITTLE_ENDIAN__
|
|
#define __BYTE_ORDER __LITTLE_ENDIAN
|
|
#endif
|
|
#endif /* __LITTLE_ENDIAN__ */
|
|
|
|
#ifndef __BYTE_ORDER
|
|
#define __BYTE_ORDER __BIG_ENDIAN
|
|
#endif
|