X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fx86-sunos-os.h;h=bb7753a9e796eb161dce91159f33d340222be60e;hb=c8617f57d0413beb2890e94dabe227cef9c5ddad;hp=a7d6a92d6205ed3a147970b888eb1de6f1a59b3e;hpb=40e3ba03d0e1b824e4d1ae75d74246b975b70964;p=sbcl.git diff --git a/src/runtime/x86-sunos-os.h b/src/runtime/x86-sunos-os.h index a7d6a92..bb7753a 100644 --- a/src/runtime/x86-sunos-os.h +++ b/src/runtime/x86-sunos-os.h @@ -2,8 +2,10 @@ #define _X86_SOLARIS_OS_H typedef ucontext_t os_context_t; +typedef int os_context_register_t; -static inline os_context_t *arch_os_get_context(void **void_context) { +static inline os_context_t *arch_os_get_context(void **void_context) +{ return (os_context_t *) *void_context; }