summaryrefslogtreecommitdiff
path: root/fw/musl_include_shims/bits
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2020-12-21 21:10:37 +0100
committerjaseg <git@jaseg.de>2020-12-21 21:10:37 +0100
commit1f9390005f15e011ec8ffd394ba73a6119b58345 (patch)
tree678d2737d592caf9b49ed6964c1cb013feff8f97 /fw/musl_include_shims/bits
parent74507f4c364d9cfac39df98fdfaf7eb2de107230 (diff)
downloadminikbd-1f9390005f15e011ec8ffd394ba73a6119b58345.tar.gz
minikbd-1f9390005f15e011ec8ffd394ba73a6119b58345.tar.bz2
minikbd-1f9390005f15e011ec8ffd394ba73a6119b58345.zip
Add musl
Diffstat (limited to 'fw/musl_include_shims/bits')
-rw-r--r--fw/musl_include_shims/bits/alltypes.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/fw/musl_include_shims/bits/alltypes.h b/fw/musl_include_shims/bits/alltypes.h
new file mode 100644
index 0000000..581ca85
--- /dev/null
+++ b/fw/musl_include_shims/bits/alltypes.h
@@ -0,0 +1,23 @@
+
+/* shim file for musl */
+
+#ifndef __MUSL_SHIM_BITS_ALLTYPES_H__
+#define __MUSL_SHIM_BITS_ALLTYPES_H__
+
+#define _REDIR_TIME64 1
+#define _Addr int
+#define _Int64 long long
+#define _Reg int
+
+#define __BYTE_ORDER 1234
+
+#define __LONG_MAX 0x7fffffffL
+
+#ifndef __cplusplus
+typedef unsigned wchar_t;
+#endif
+
+typedef float float_t;
+typedef double double_t;
+
+#endif /* __MUSL_SHIM_BITS_ALLTYPES_H__ */