diff options
author | root <root> | 2001-09-03 03:42:13 +0000 |
---|---|---|
committer | root <root> | 2001-09-03 03:42:13 +0000 |
commit | 9bdcf47c96e350f4b911a54dc286ea0aff890d05 (patch) | |
tree | 1d0da58457e7ee7779cc004299a83945b9a5867b | |
parent | 6de90843cb4c9052026866906ee9ebcd33c9f773 (diff) |
*** empty log message ***
-rw-r--r-- | coro.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 <signal.h> static volatile coro_func coro_init_func; |