mirror of
https://github.com/mirror/tinycc.git
synced 2026-08-30 11:57:51 +08:00
macos: various fixes
* alloca needs to be _alloca * int64_t and uint64_t are also defined in <sys/_types/_int64_t.h> but as long long, not as long, so adjust out <stddef.h> to agree on Darwin * define __APPLE_CC__ so that <TargetConditionals.h> correctly defines various macros like TARGET_OS_MAC and TARGET_CPU_X86_64
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
/* ---------------------------------------------- */
|
||||
/* alloca86_64.S */
|
||||
|
||||
#ifdef __APPLE__
|
||||
#define alloca _alloca
|
||||
#endif
|
||||
.globl alloca
|
||||
|
||||
alloca:
|
||||
|
||||
Reference in New Issue
Block a user