From 7da7950aec21751e011efce813aa5a42a3dc7687 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 25 Nov 2006 00:27:00 +0000 Subject: *** empty log message *** --- coro.c | 2 +- coro.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/coro.c b/coro.c index 19b5d21..d431054 100644 --- a/coro.c +++ b/coro.c @@ -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; diff --git a/coro.h b/coro.h index 15426dd..8f7a796 100644 --- a/coro.h +++ b/coro.h @@ -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 -- cgit v1.2.3