Unified · Split
| @@ -87,6 +87,10 @@ · 86 unmodified lines | ||
| 87 | 87 | #define __GNUC_PATCHLEVEL__ 0 |
| 88 | 88 | #define _Pragma(x) |
| 89 | 89 | #define __ELF__ 1 |
| 90 | + #if defined(__aarch64__) && defined(__TINYC__) && !defined(_LOCORE) | |
| 91 | + /* avoids usage of __asm which is not yet supported by tcc */ | |
| 92 | + #define _LOCORE | |
| 93 | + #endif | |
| 90 | 94 | |
| 91 | 95 | #elif defined __OpenBSD__ |
| 92 | 96 | //#define __OpenBSD__ 1 |