From 32da9c4e8cb2b5252c13b363db7c28675cf60bb5 Mon Sep 17 00:00:00 2001 From: jaseg Date: Tue, 23 Mar 2021 19:04:11 +0100 Subject: Fix up firmware and demos --- fw/include/bits/alltypes.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 fw/include/bits/alltypes.h (limited to 'fw/include/bits') diff --git a/fw/include/bits/alltypes.h b/fw/include/bits/alltypes.h new file mode 100644 index 0000000..581ca85 --- /dev/null +++ b/fw/include/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__ */ -- cgit