X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fx86-darwin-os.c;h=248e782dc0307492df158d0ff7dedfd3194b4621;hb=9b1fade83db8453b75b8c7380eb12ce41b5b889c;hp=4983871c6b3e662a4b90b38759927f8c5e2dc008;hpb=9772cd388bb89a311aa1d205359b421d9d12a3ff;p=sbcl.git diff --git a/src/runtime/x86-darwin-os.c b/src/runtime/x86-darwin-os.c index 4983871..248e782 100644 --- a/src/runtime/x86-darwin-os.c +++ b/src/runtime/x86-darwin-os.c @@ -254,14 +254,14 @@ void signal_emulation_wrapper(x86_thread_state32_t *thread_state, */ os_context_t *context; -#if __DARWIN_UNIX03 +#if MAC_OS_X_VERSION_10_5 struct __darwin_mcontext32 *regs; #else struct mcontext *regs; #endif context = (os_context_t*) os_validate(0, sizeof(os_context_t)); -#if __DARWIN_UNIX03 +#if MAC_OS_X_VERSION_10_5 regs = (struct __darwin_mcontext32*) os_validate(0, sizeof(struct __darwin_mcontext32)); #else regs = (struct mcontext*) os_validate(0, sizeof(struct mcontext)); @@ -285,7 +285,7 @@ void signal_emulation_wrapper(x86_thread_state32_t *thread_state, update_thread_state_from_context(thread_state, float_state, context); os_invalidate((os_vm_address_t)context, sizeof(os_context_t)); -#if __DARWIN_UNIX03 +#if MAC_OS_X_VERSION_10_5 os_invalidate((os_vm_address_t)regs, sizeof(struct __darwin_mcontext32)); #else os_invalidate((os_vm_address_t)regs, sizeof(struct mcontext)); @@ -386,7 +386,7 @@ control_stack_exhausted_handler(int signal, siginfo_t *siginfo, void *void_conte os_context_t *context = arch_os_get_context(&void_context); arrange_return_to_lisp_function - (context, SymbolFunction(CONTROL_STACK_EXHAUSTED_ERROR)); + (context, StaticSymbolFunction(CONTROL_STACK_EXHAUSTED_ERROR)); } void @@ -394,7 +394,7 @@ undefined_alien_handler(int signal, siginfo_t *siginfo, void *void_context) { os_context_t *context = arch_os_get_context(&void_context); arrange_return_to_lisp_function - (context, SymbolFunction(UNDEFINED_ALIEN_VARIABLE_ERROR)); + (context, StaticSymbolFunction(UNDEFINED_ALIEN_VARIABLE_ERROR)); } kern_return_t