Add :application-type parameter for save-lisp-and-die on Windows.
[sbcl.git] / src / runtime / x86-bsd-os.h
index 3ff9f52..dc9d9f7 100644 (file)
@@ -8,7 +8,8 @@
 
 typedef int os_context_register_t;
 
-static inline os_context_t *arch_os_get_context(void **void_context) {
+static inline os_context_t *arch_os_get_context(void **void_context)
+{
     return (os_context_t *) *void_context;
 }
 
@@ -27,6 +28,14 @@ static inline os_context_t *arch_os_get_context(void **void_context) {
 #endif
 
 #if defined LISP_FEATURE_FREEBSD
+#if defined(LISP_FEATURE_RESTORE_TLS_SEGMENT_REGISTER_FROM_CONTEXT)
+void os_restore_tls_segment_register(os_context_t *context);
+#endif
+#define RESTORE_FP_CONTROL_FROM_CONTEXT
+void os_restore_fp_control(os_context_t *context);
+#endif
+
+#if defined LISP_FEATURE_OPENBSD
 #define RESTORE_FP_CONTROL_FROM_CONTEXT
 void os_restore_fp_control(os_context_t *context);
 #endif