diff options
author | root <root> | 2006-11-25 00:27:00 +0000 |
---|---|---|
committer | root <root> | 2006-11-25 00:27:00 +0000 |
commit | 7da7950aec21751e011efce813aa5a42a3dc7687 (patch) | |
tree | 3c787bb27c2b76501ed403cb54f6e9caa4c2fc3d | |
parent | c8d0e1e8f7cd3a08016aa1d5eba627f03d90dd77 (diff) |
*** empty log message ***
-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 |