summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/arch/mips/bits/alltypes.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'libc-top-half/musl/arch/mips/bits/alltypes.h.in')
-rw-r--r--libc-top-half/musl/arch/mips/bits/alltypes.h.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/libc-top-half/musl/arch/mips/bits/alltypes.h.in b/libc-top-half/musl/arch/mips/bits/alltypes.h.in
new file mode 100644
index 0000000..ff934a4
--- /dev/null
+++ b/libc-top-half/musl/arch/mips/bits/alltypes.h.in
@@ -0,0 +1,21 @@
+#define _REDIR_TIME64 1
+#define _Addr int
+#define _Int64 long long
+#define _Reg int
+
+#if _MIPSEL || __MIPSEL || __MIPSEL__
+#define __BYTE_ORDER 1234
+#else
+#define __BYTE_ORDER 4321
+#endif
+
+#define __LONG_MAX 0x7fffffffL
+
+#ifndef __cplusplus
+TYPEDEF int wchar_t;
+#endif
+
+TYPEDEF float float_t;
+TYPEDEF double double_t;
+
+TYPEDEF struct { long long __ll; long double __ld; } max_align_t;