macos: various fixes
commit5d2f4cb4038696f93e1f2819da010d29f741fbac
authorMichael Matz <matz@suse.de>
Fri, 22 May 2020 03:12:23 +0000 (22 05:12 +0200)
committerMichael Matz <matz@suse.de>
Sat, 20 Jun 2020 20:14:56 +0000 (20 22:14 +0200)
treeb28625b182b6c1ed55d047d96805281f991e93f3
parentb0b0e48409df359f3be15ba112a89365b10ecd67
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
include/stddef.h
lib/alloca86_64.S
libtcc.c