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