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