summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2008-11-08 13:53:27 +0000
committerroot <root>2008-11-08 13:53:27 +0000
commit35eb28c235d68635df330460f28eb85ea41ecc56 (patch)
tree3363f9b0916b6d8975bc56187e237ab9b5a79c87
parentfe8e16218199e88ea887c96dfa732cbdaf2a7248 (diff)
*** empty log message ***rel-4_9
-rw-r--r--coro.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/coro.h b/coro.h
index fa56804..79b8e1e 100644
--- a/coro.h
+++ b/coro.h
@@ -227,6 +227,12 @@ struct coro_context {
# include <unistd.h>
# endif
+/* solaris is hopelessly borked, it expands _XOPEN_UNIX to nothing */
+# if __sun
+# undef _XOPEN_UNIX
+# define _XOPEN_UNIX 1
+# endif
+
# include <setjmp.h>
struct coro_context {