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

Comparing libcoro/coro.c (file contents):
Revision 1.21 by root, Thu Oct 26 06:50:20 2006 UTC vs.
Revision 1.22 by root, Sat Nov 25 00:27:00 2006 UTC

194#error "microsoft libc or architecture not supported" 194#error "microsoft libc or architecture not supported"
195#endif 195#endif
196 196
197# elif CORO_LINUX 197# elif CORO_LINUX
198 198
199 setjmp (ctx->env); 199 _setjmp (ctx->env);
200#if defined(__GLIBC__) && defined(__GLIBC_MINOR__) \ 200#if defined(__GLIBC__) && defined(__GLIBC_MINOR__) \
201 && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 0 && defined(JB_PC) && defined(JB_SP) 201 && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 0 && defined(JB_PC) && defined(JB_SP)
202 ctx->env[0].__jmpbuf[JB_PC] = (long)coro_init; 202 ctx->env[0].__jmpbuf[JB_PC] = (long)coro_init;
203 ctx->env[0].__jmpbuf[JB_SP] = (long)STACK_ADJUST_PTR (sptr,ssize); 203 ctx->env[0].__jmpbuf[JB_SP] = (long)STACK_ADJUST_PTR (sptr,ssize);
204#elif defined(__GLIBC__) && defined(__GLIBC_MINOR__) \ 204#elif defined(__GLIBC__) && defined(__GLIBC_MINOR__) \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines