Fix FP traps on OSX/x86-64.
[sbcl.git] / src / runtime / x86-64-darwin-os.h
index 22cde5e..53b2230 100644 (file)
@@ -16,4 +16,7 @@ static inline os_context_t *arch_os_get_context(void **void_context)
 #define CONTEXT_ADDR_FROM_STEM(stem) &context->uc_mcontext->ss.stem
 #endif /* __DARWIN_UNIX03 */
 
+#define RESTORE_FP_CONTROL_FROM_CONTEXT
+void os_restore_fp_control(os_context_t *context);
+
 #endif /* _X86_64_DARWIN_OS_H */