mirror of
https://github.com/mirror/tinycc.git
synced 2025-03-12 09:00:09 +08:00
NetBSD: arm64 prevent use of __asm.
This commit is contained in:
parent
1032e7175a
commit
b9db7c90ee
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user