mirror of
git://repo.or.cz/tinycc.git
synced 2026-06-30 08:38:41 +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 __GNUC_PATCHLEVEL__ 0
|
||||||
#define _Pragma(x)
|
#define _Pragma(x)
|
||||||
#define __ELF__ 1
|
#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__
|
#elif defined __OpenBSD__
|
||||||
//#define __OpenBSD__ 1
|
//#define __OpenBSD__ 1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user