1
0
mirror of git://git.musl-libc.org/musl synced 2025-04-11 03:31:50 +00:00
musl/arch/mips/bits/endian.h
Rich Felker 64251d8bbd better support for reverse-endian variants of arm/mips/microblaze
these macros are supported by more compilers
2012-10-18 21:50:55 -04:00

6 lines
122 B
C

#if _MIPSEL || __MIPSEL || __MIPSEL__
#define __BYTE_ORDER __LITTLE_ENDIAN
#else
#define __BYTE_ORDER __BIG_ENDIAN
#endif