X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fx86-darwin-os.h;h=aa2710c8a50a757b62c8198f1f268c976a0b3463;hb=ee90e535c985f697c71d839083aed16710f846fd;hp=b0f9fd16dcb8b684fa29e5c7f67f24d50416c281;hpb=402958f92506b9d3de852601b8c1ccb99b5ee558;p=sbcl.git diff --git a/src/runtime/x86-darwin-os.h b/src/runtime/x86-darwin-os.h index b0f9fd1..aa2710c 100644 --- a/src/runtime/x86-darwin-os.h +++ b/src/runtime/x86-darwin-os.h @@ -6,7 +6,10 @@ #include "darwin-os.h" -static inline os_context_t *arch_os_get_context(void **void_context) { +typedef int os_context_register_t; + +static inline os_context_t *arch_os_get_context(void **void_context) +{ return (os_context_t *) *void_context; }