X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fx86-bsd-os.h;h=e550f33a2cdfababdae2f39db3401500041fe82a;hb=88cc2f72774202503588331fddd1592ae8546de1;hp=303b7ebc122facdefc9730332e88e13673c5187c;hpb=3d2165e67f9ad1443f6e7d8ad24810000b0436e8;p=sbcl.git diff --git a/src/runtime/x86-bsd-os.h b/src/runtime/x86-bsd-os.h index 303b7eb..e550f33 100644 --- a/src/runtime/x86-bsd-os.h +++ b/src/runtime/x86-bsd-os.h @@ -19,4 +19,14 @@ static inline os_context_t *arch_os_get_context(void **void_context) { #error unsupported BSD variant #endif +#if defined(LISP_FEATURE_SB_THREAD) + +#if defined LISP_FEATURE_FREEBSD +/* FIXME: why is this only done for SB-THREAD? */ +#define RESTORE_FP_CONTROL_FROM_CONTEXT +void os_restore_fp_control(os_context_t *context); +#endif + +#endif + #endif /* _X86_BSD_OS_H */