mirror of
https://github.com/mirror/tinycc.git
synced 2025-03-04 08:20:12 +08:00
[macOS]: arm64, define both __aarch64__ and __arm64__ which are tested by standard include files. WIP
This commit is contained in:
parent
310d49668e
commit
d0d0c8b688
@ -51,7 +51,12 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
ST_DATA const char * const target_machine_defs =
|
ST_DATA const char * const target_machine_defs =
|
||||||
|
#if defined(__APPLE__)
|
||||||
"__aarch64__\0"
|
"__aarch64__\0"
|
||||||
|
"__arm64__\0"
|
||||||
|
#else
|
||||||
|
"__aarch64__\0"
|
||||||
|
#endif
|
||||||
;
|
;
|
||||||
|
|
||||||
ST_DATA const int reg_classes[NB_REGS] = {
|
ST_DATA const int reg_classes[NB_REGS] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user