diff options
Diffstat (limited to 'arch/mips64/bits/alltypes.h.in')
-rw-r--r-- | arch/mips64/bits/alltypes.h.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips64/bits/alltypes.h.in b/arch/mips64/bits/alltypes.h.in index c3ab9676..34776f07 100644 --- a/arch/mips64/bits/alltypes.h.in +++ b/arch/mips64/bits/alltypes.h.in @@ -2,6 +2,12 @@ #define _Int64 long #define _Reg long +#if _MIPSEL || __MIPSEL || __MIPSEL__ +#define __BYTE_ORDER 1234 +#else +#define __BYTE_ORDER 4321 +#endif + #ifndef __cplusplus TYPEDEF int wchar_t; #endif |