projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.9.12.31:
[sbcl.git]
/
src
/
runtime
/
bsd-os.h
diff --git
a/src/runtime/bsd-os.h
b/src/runtime/bsd-os.h
index
6907482
..
4f72a66
100644
(file)
--- a/
src/runtime/bsd-os.h
+++ b/
src/runtime/bsd-os.h
@@
-84,8
+84,15
@@
typedef ucontext_t os_context_t;
If Apple is going to break ucontext_t out of spite, I'm going
to be cross with them ;) -- PRM */
If Apple is going to break ucontext_t out of spite, I'm going
to be cross with them ;) -- PRM */
+#if defined(LISP_FEATURE_X86)
+#include <sys/ucontext.h>
+#include <sys/_types.h>
+typedef struct ucontext os_context_t;
+#else
#include <ucontext.h>
typedef ucontext_t os_context_t;
#include <ucontext.h>
typedef ucontext_t os_context_t;
+#endif
+
#define SIG_MEMORY_FAULT SIGBUS
#else
#define SIG_MEMORY_FAULT SIGBUS
#else