--- libcoro/coro.c 2010/04/02 20:21:21 1.52 +++ libcoro/coro.c 2010/12/03 19:21:59 1.53 @@ -404,7 +404,11 @@ args.main = &nctx; pthread_attr_init (&attr); +#if __UCLIBC__ + pthread_attr_setstacksize (&attr, (size_t)ssize); +#else pthread_attr_setstack (&attr, sptr, (size_t)ssize); +#endif pthread_attr_setscope (&attr, PTHREAD_SCOPE_PROCESS); pthread_create (&ctx->id, &attr, coro_init, &args);