ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libcoro/coro.c
(Generate patch)

Comparing libcoro/coro.c (file contents):
Revision 1.6 by root, Mon Sep 3 03:36:00 2001 UTC vs.
Revision 1.7 by root, Mon Sep 3 03:42:13 2001 UTC

30 * go to Ralf S. Engelschall <rse@engelschall.com>. 30 * go to Ralf S. Engelschall <rse@engelschall.com>.
31 */ 31 */
32 32
33#include "coro.h" 33#include "coro.h"
34 34
35#if CORO_SJLJ || CORO_LOOSE || CORO_LINUX || CORO_IRIX
36
37/* IRIX is decidedly NON-unix */ 35/* IRIX is decidedly NON-unix */
38#if __sgi 36#if __sgi
39# define STACK_ADJUST(sp,ss) ((ss) - 8 + (char *)(sp)) 37# define STACK_ADJUST(sp,ss) ((char *)(sp) + (ss) - 8)
40#else 38#else
41# define STACK_ADJUST(sp,ss) (ss) 39# define STACK_ADJUST(sp,ss) (sp)
42#endif 40#endif
41
42#if CORO_SJLJ || CORO_LOOSE || CORO_LINUX || CORO_IRIX
43 43
44#include <signal.h> 44#include <signal.h>
45 45
46static volatile coro_func coro_init_func; 46static volatile coro_func coro_init_func;
47static volatile void *coro_init_arg; 47static volatile void *coro_init_arg;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines