NetBSD: arm64 prevent use of __asm.

This commit is contained in:
Christian Jullien 2020-12-24 07:31:52 +01:00
parent 1032e7175a
commit b9db7c90ee

View File

@ -87,6 +87,10 @@
#define __GNUC_PATCHLEVEL__ 0
#define _Pragma(x)
#define __ELF__ 1
#if defined(__aarch64__) && defined(__TINYC__) && !defined(_LOCORE)
/* avoids usage of __asm which is not yet supported by tcc */
#define _LOCORE
#endif
#elif defined __OpenBSD__
//#define __OpenBSD__ 1