summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2008-11-08 13:42:28 +0000
committerroot <root>2008-11-08 13:42:28 +0000
commitfe8e16218199e88ea887c96dfa732cbdaf2a7248 (patch)
tree603b2d7edbfc25d0540a6618c95c6eb524ce7673
parentdb4c230aa2d9062ce3d67548396dac715497e15a (diff)
*** empty log message ***
-rw-r--r--coro.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/coro.h b/coro.h
index 7ab58c1..fa56804 100644
--- a/coro.h
+++ b/coro.h
@@ -230,7 +230,11 @@ struct coro_context {
# include <setjmp.h>
struct coro_context {
+#if _XOPEN_UNIX > 0 || CORO_LOSER
jmp_buf env;
+#else
+ sigjmp_buf env;
+#endif
};
# if _XOPEN_UNIX > 0