diff options
Diffstat (limited to 'lib/lib-arm64.c')
| -rw-r--r-- | lib/lib-arm64.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/lib-arm64.c b/lib/lib-arm64.c index 42d5936..b8fd9e8 100644 --- a/lib/lib-arm64.c +++ b/lib/lib-arm64.c @@ -9,8 +9,20 @@ * without any warranty. */ +#ifdef __TINYC__ +typedef signed char int8_t; +typedef unsigned char uint8_t; +typedef short int16_t; +typedef unsigned short uint16_t; +typedef int int32_t; +typedef unsigned uint32_t; +typedef long long int64_t; +typedef unsigned long long uint64_t; +void *memcpy(void*,void*,__SIZE_TYPE__); +#else #include <stdint.h> #include <string.h> +#endif void __clear_cache(void *beg, void *end) { |
