History

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

Michael Matz committed 6 years ago

Commit 5d2f4cb1 parent b0b0e483 files · +7 −2Browse files

Showing the changes to lib (1 of 3 files). Show all

Unified · Split

lib/alloca86_64.S+3−0
@@ -1,6 +1,9 @@
11 /* ---------------------------------------------- */
22 /* alloca86_64.S */
33
4+#ifdef __APPLE__
5+#define alloca _alloca
6+#endif
47 .globl alloca
58
69 alloca:

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t