projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More efficient integer division by multiplication
[sbcl.git]
/
src
/
runtime
/
darwin-os.h
diff --git
a/src/runtime/darwin-os.h
b/src/runtime/darwin-os.h
index
35cc0fc
..
be8640d
100644
(file)
--- a/
src/runtime/darwin-os.h
+++ b/
src/runtime/darwin-os.h
@@
-27,12
+27,15
@@
typedef struct ucontext os_context_t;
#else
#else
-#include <ucontext.h>
typedef ucontext_t os_context_t;
#endif
#define SIG_MEMORY_FAULT SIGBUS
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 */
#endif /* _DARWIN_OS_H */