diff options
Diffstat (limited to 'arch/sh/bits/alltypes.h.in')
-rw-r--r-- | arch/sh/bits/alltypes.h.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sh/bits/alltypes.h.in b/arch/sh/bits/alltypes.h.in index 618f374c..5952e9e6 100644 --- a/arch/sh/bits/alltypes.h.in +++ b/arch/sh/bits/alltypes.h.in @@ -2,6 +2,12 @@ #define _Int64 long long #define _Reg int +#if __BIG_ENDIAN__ +#define __BYTE_ORDER 4321 +#else +#define __BYTE_ORDER 1234 +#endif + #ifndef __cplusplus #ifdef __WCHAR_TYPE__ TYPEDEF __WCHAR_TYPE__ wchar_t; |