#else
-#include <ucontext.h>
typedef ucontext_t os_context_t;
#endif
#define SIG_MEMORY_FAULT SIGBUS
-#define SIG_STOP_FOR_GC (SIGUSR1)
+#define SIG_STOP_FOR_GC (SIGUSR2)
+
+#ifdef LISP_FEATURE_MACH_EXCEPTION_HANDLER
+extern mach_port_t current_mach_task;
+#endif
#endif /* _DARWIN_OS_H */