1.0.15.21: SB-BSD-SOCKETS:NAME-SERVICE-ERROR to inherit from ERROR
[sbcl/pkhuong.git] / src / runtime / x86-64-darwin-os.h
blob1a4f796ed034975a024cffb2f908fdf5882016d6
1 #ifndef _X86_64_DARWIN_OS_H
2 #define _X86_64_DARWIN_OS_H
4 #include "darwin-os.h"
6 typedef register_t os_context_register_t;
8 static inline os_context_t *arch_os_get_context(void **void_context)
10 return (os_context_t *) *void_context;
13 #ifdef MAC_OS_X_VERSION_10_5
14 #define CONTEXT_ADDR_FROM_STEM(stem) &context->uc_mcontext->__ss.__##stem
15 #else
16 #define CONTEXT_ADDR_FROM_STEM(stem) &context->uc_mcontext->ss.stem
17 #endif
19 #endif /* _X86_64_DARWIN_OS_H */