X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fppc-linux-os.h;h=3ae5596a3a76d1e3ee050b36d9fa9fdb5ddb9c49;hb=a2b7a6a58e894c02cff583d2d7d1b971a53d7c2d;hp=9c8d3197c56edba24768c9ddcfaf56bee9cc4d86;hpb=503a50f07740b52908f630b0492cf56556f1a792;p=sbcl.git diff --git a/src/runtime/ppc-linux-os.h b/src/runtime/ppc-linux-os.h index 9c8d319..3ae5596 100644 --- a/src/runtime/ppc-linux-os.h +++ b/src/runtime/ppc-linux-os.h @@ -2,8 +2,10 @@ #define _PPC_LINUX_OS_H typedef struct ucontext os_context_t; +typedef long 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; }