diff options
| -rw-r--r-- | coro.c | 2 | ||||
| -rw-r--r-- | coro.h | 1 | 
2 files changed, 2 insertions, 1 deletions
| @@ -196,7 +196,7 @@ void coro_create(coro_context *ctx,  # elif CORO_LINUX -  setjmp (ctx->env); +  _setjmp (ctx->env);  #if defined(__GLIBC__) && defined(__GLIBC_MINOR__) \      && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 0 && defined(JB_PC) && defined(JB_SP)    ctx->env[0].__jmpbuf[JB_PC] = (long)coro_init; @@ -38,6 +38,7 @@  /*   * 2006-10-26 Include stddef.h on OS X to work around one of its bugs.   *            Reported by Michael_G_Schwern. + * 2006-11-25 Use _setjmp instead of setjmp on GNU/Linux.   */  #ifndef CORO_H | 
