X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fx86-64-darwin-os.h;h=53b2230fe9089f2713b46ed1dca2fde0ba2e38c6;hb=bf40ae88bc289fd765a33861cc4bc0853ed483ba;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..53b2230 100644 --- a/src/runtime/x86-64-darwin-os.h +++ b/src/runtime/x86-64-darwin-os.h @@ -10,11 +10,13 @@ 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 */ + +#define RESTORE_FP_CONTROL_FROM_CONTEXT +void os_restore_fp_control(os_context_t *context); #endif /* _X86_64_DARWIN_OS_H */