X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fx86-64-darwin-os.h;h=22cde5edd21159d9f69e91f0ad8965a4eb0aed71;hb=743831e679b673a5680a0afd8402911516bf50e2;hp=a52590880d2112deb273dd13821fae6a87be49e8;hpb=c395677d01755a46ccb82397a3481f065976773b;p=sbcl.git diff --git a/src/runtime/x86-64-darwin-os.h b/src/runtime/x86-64-darwin-os.h index a525908..22cde5e 100644 --- a/src/runtime/x86-64-darwin-os.h +++ b/src/runtime/x86-64-darwin-os.h @@ -10,11 +10,10 @@ static inline os_context_t *arch_os_get_context(void **void_context) return (os_context_t *) *void_context; } -#ifdef MAC_OS_X_VERSION_10_5 +#if __DARWIN_UNIX03 #define CONTEXT_ADDR_FROM_STEM(stem) &context->uc_mcontext->__ss.__##stem #else #define CONTEXT_ADDR_FROM_STEM(stem) &context->uc_mcontext->ss.stem -#endif -#define DARWIN_FIX_CONTEXT(context) +#endif /* __DARWIN_UNIX03 */ #endif /* _X86_64_DARWIN_OS_H */