summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--arch/nt32/bits/alltypes.h.in6
-rw-r--r--arch/nt64/bits/alltypes.h.in6
2 files changed, 12 insertions, 0 deletions
diff --git a/arch/nt32/bits/alltypes.h.in b/arch/nt32/bits/alltypes.h.in
index 4aa1992..d323a39 100644
--- a/arch/nt32/bits/alltypes.h.in
+++ b/arch/nt32/bits/alltypes.h.in
@@ -2,6 +2,12 @@
#define _Int64 long long
#define _Reg int
+#ifndef __BYTE_ORDER__
+#define __BYTE_ORDER__ 1234
+#endif
+
+#define __BYTE_ORDER __BYTE_ORDER__
+
#if __GNUC__ >= 3
TYPEDEF __builtin_va_list va_list;
TYPEDEF __builtin_va_list __isoc_va_list;
diff --git a/arch/nt64/bits/alltypes.h.in b/arch/nt64/bits/alltypes.h.in
index dc551d4..8f14895 100644
--- a/arch/nt64/bits/alltypes.h.in
+++ b/arch/nt64/bits/alltypes.h.in
@@ -2,6 +2,12 @@
#define _Int64 long
#define _Reg long
+#ifndef __BYTE_ORDER__
+#define __BYTE_ORDER__ 1234
+#endif
+
+#define __BYTE_ORDER __BYTE_ORDER__
+
TYPEDEF __builtin_va_list va_list;
TYPEDEF __builtin_va_list __isoc_va_list;