From 9bdcf47c96e350f4b911a54dc286ea0aff890d05 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 3 Sep 2001 03:42:13 +0000 Subject: *** empty log message *** --- coro.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/coro.c b/coro.c index c6999a0..7c36538 100644 --- a/coro.c +++ b/coro.c @@ -32,15 +32,15 @@ #include "coro.h" -#if CORO_SJLJ || CORO_LOOSE || CORO_LINUX || CORO_IRIX - /* IRIX is decidedly NON-unix */ #if __sgi -# define STACK_ADJUST(sp,ss) ((ss) - 8 + (char *)(sp)) +# define STACK_ADJUST(sp,ss) ((char *)(sp) + (ss) - 8) #else -# define STACK_ADJUST(sp,ss) (ss) +# define STACK_ADJUST(sp,ss) (sp) #endif +#if CORO_SJLJ || CORO_LOOSE || CORO_LINUX || CORO_IRIX + #include static volatile coro_func coro_init_func; -- cgit v1.2.3