diff options
author | root <root> | 2008-05-20 05:50:49 +0000 |
---|---|---|
committer | root <root> | 2008-05-20 05:50:49 +0000 |
commit | e2bfb1cf1563d34049aa7a2e967aa660cc4a08a5 (patch) | |
tree | 9bc02708a36a0eb5fe6afb6e0c054e050d075456 | |
parent | 051bbbabca13ddf4f1ec51e7447a034c3d9e8638 (diff) |
*** empty log message ***rel-3_03
-rw-r--r-- | xthread.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) { |