[macOS]: arm64, define both __aarch64__ and __arm64__ which are tested by standard include files. WIP
This commit is contained in:
parent
310d49668e
commit
d0d0c8b688
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue