mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-05 17:00:52 -08:00
__DARWIN_UNIX03 = 0 in Tiger, > 0 in Leopard. Apparently it is always defined.
This commit is contained in:
parent
69ab4e6357
commit
65e5c7bef0
1 changed files with 2 additions and 2 deletions
|
|
@ -102,7 +102,7 @@ void GC_push_all_stacks() {
|
|||
if(r != KERN_SUCCESS) ABORT("thread_get_state failed");
|
||||
|
||||
#if defined(I386)
|
||||
# ifdef __DARWIN_UNIX03
|
||||
# if __DARWIN_UNIX03
|
||||
/* In Leopard, the registers get a prefix */
|
||||
lo = state.__esp;
|
||||
|
||||
|
|
@ -123,7 +123,7 @@ void GC_push_all_stacks() {
|
|||
GC_push_one(state.edi);
|
||||
GC_push_one(state.esi);
|
||||
GC_push_one(state.ebp);
|
||||
#endif
|
||||
# endif
|
||||
#elif defined(POWERPC)
|
||||
lo = (void*)(state.r1 - PPC_RED_ZONE_SIZE);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue