summaryrefslogtreecommitdiff
path: root/coro.c
diff options
context:
space:
mode:
authorroot <root>2011-08-08 22:00:18 +0000
committerroot <root>2011-08-08 22:00:18 +0000
commit128d4e8c4a9103fe5a02682de89c6a660ff2a5d3 (patch)
treeae4f02e7f9c076a41c5330a7a5557565e700cc2a /coro.c
parentf3c8c7a09a526eb36fcbfcb70728c14e4ea2e46b (diff)
*** empty log message ***rel-6_06origin
Diffstat (limited to 'coro.c')
-rw-r--r--coro.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/coro.c b/coro.c
index 194cd46..615af83 100644
--- a/coro.c
+++ b/coro.c
@@ -438,6 +438,9 @@ coro_create (coro_context *ctx, coro_func coro, void *arg, void *sptr, long ssiz
#if __UCLIBC__
/* exists, but is borked */
/*pthread_attr_setstacksize (&attr, (size_t)ssize);*/
+#elif __CYGWIN__
+ /* POSIX, not here */
+ pthread_attr_setstacksize (&attr, (size_t)ssize);
#else
pthread_attr_setstack (&attr, sptr, (size_t)ssize);
#endif