X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fx86-64-darwin-os.h;h=22cde5edd21159d9f69e91f0ad8965a4eb0aed71;hb=f17e3d27d7ff599f9443d011d17017a2a858c81a;hp=4de6bf4e2c35e63683b530cd9a8053c4b2233c8b;hpb=127fd3d2fb843c6bb7ad0763e143d81877e760e8;p=sbcl.git diff --git a/src/runtime/x86-64-darwin-os.h b/src/runtime/x86-64-darwin-os.h index 4de6bf4..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; } -#if defined __DARWIN_UNIX03 +#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 */