refactor headers, especially alltypes.h, and improve C++ ABI compat
[musl] / arch / powerpc / bits / endian.h
1 #ifdef __BIG_ENDIAN__
2   #if __BIG_ENDIAN__
3     #define __BYTE_ORDER __BIG_ENDIAN
4   #endif
5 #endif /* __BIG_ENDIAN__ */
6
7 #ifdef __LITTLE_ENDIAN__
8   #if __LITTLE_ENDIAN__
9     #define __BYTE_ORDER __LITTLE_ENDIAN
10   #endif
11 #endif /* __LITTLE_ENDIAN__ */
12
13 #ifndef __BYTE_ORDER
14   #define __BYTE_ORDER __BIG_ENDIAN
15 #endif