From e2bfb1cf1563d34049aa7a2e967aa660cc4a08a5 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 20 May 2008 05:50:49 +0000 Subject: *** empty log message *** --- xthread.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xthread.h b/xthread.h index e0de1ee..e53cb53 100644 --- a/xthread.h +++ b/xthread.h @@ -113,6 +113,11 @@ typedef pthread_t thread_t; #define X_THREAD_PROC(name) static void *name (void *thr_arg) #define X_THREAD_ATFORK(prepare,parent,child) pthread_atfork (prepare, parent, child) +// the broken bsd's once more +#ifndef PTHREAD_STACK_MIN +# define PTHREAD_STACK_MIN 0 +#endif + static int thread_create (thread_t *tid, void *(*proc)(void *), void *arg) { -- cgit v1.2.3