X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fx86-bsd-os.h;h=8e8b291bc5743421d2bce2a4c0f0c3249c322c53;hb=638197e01ef6d5365852758c072b2b102fdceaa6;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..8e8b291 100644 --- a/src/runtime/x86-bsd-os.h +++ b/src/runtime/x86-bsd-os.h @@ -1,6 +1,11 @@ #ifndef _X86_BSD_OS_H #define _X86_BSD_OS_H +#ifdef LISP_FEATURE_FREEBSD +#include +#include +#endif + static inline os_context_t *arch_os_get_context(void **void_context) { return (os_context_t *) *void_context; } @@ -19,4 +24,9 @@ static inline os_context_t *arch_os_get_context(void **void_context) { #error unsupported BSD variant #endif +#if defined LISP_FEATURE_FREEBSD +#define RESTORE_FP_CONTROL_FROM_CONTEXT +void os_restore_fp_control(os_context_t *context); +#endif + #endif /* _X86_BSD_OS_H */