projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.4.14: oops! duplicate definition of print_unknown
[sbcl.git]
/
src
/
runtime
/
x86-bsd-os.h
diff --git
a/src/runtime/x86-bsd-os.h
b/src/runtime/x86-bsd-os.h
index
d03b8aa
..
3ff9f52
100644
(file)
--- a/
src/runtime/x86-bsd-os.h
+++ b/
src/runtime/x86-bsd-os.h
@@
-1,6
+1,13
@@
#ifndef _X86_BSD_OS_H
#define _X86_BSD_OS_H
#ifndef _X86_BSD_OS_H
#define _X86_BSD_OS_H
+#ifdef LISP_FEATURE_FREEBSD
+#include <machine/segments.h>
+#include <machine/cpufunc.h>
+#endif
+
+typedef int os_context_register_t;
+
static inline os_context_t *arch_os_get_context(void **void_context) {
return (os_context_t *) *void_context;
}
static inline os_context_t *arch_os_get_context(void **void_context) {
return (os_context_t *) *void_context;
}