summaryrefslogtreecommitdiffhomepage
path: root/arch/nt64
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-05-03 02:33:35 +0000
committermidipix <writeonce@midipix.org>2020-05-03 03:09:04 +0000
commit2854d6565a1b69d0ef45d644688ea6ff7701e09b (patch)
tree77bfad206933d153e8f7bcb2f3999892ffa7815b /arch/nt64
parent78fbe8e5cdba246d04b3d1f05067f2157980239d (diff)
downloadmmglue-2854d6565a1b69d0ef45d644688ea6ff7701e09b.tar.bz2
mmglue-2854d6565a1b69d0ef45d644688ea6ff7701e09b.tar.xz
nt32|nt64: provide __BYTE_ORDER definition in alltypes.h.
[while maintaining compatibility with older musl versions] [cf. musl commit 97d35a552ec5b6ddf7923dd2f9a8eb973526acea]
Diffstat (limited to 'arch/nt64')
-rw-r--r--arch/nt64/bits/alltypes.h.in6
1 files changed, 6 insertions, 0 deletions
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;