summaryrefslogtreecommitdiff
path: root/arch/microblaze/bits/alltypes.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/bits/alltypes.h.in')
-rw-r--r--arch/microblaze/bits/alltypes.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/microblaze/bits/alltypes.h.in b/arch/microblaze/bits/alltypes.h.in
index 0c7d4917..daea3fcb 100644
--- a/arch/microblaze/bits/alltypes.h.in
+++ b/arch/microblaze/bits/alltypes.h.in
@@ -2,6 +2,12 @@
#define _Int64 long long
#define _Reg int
+#if __MICROBLAZEEL__
+#define __BYTE_ORDER 1234
+#else
+#define __BYTE_ORDER 4321
+#endif
+
#ifndef __cplusplus
TYPEDEF int wchar_t;
#endif