diff options
| author | Jason Evans <jasone@FreeBSD.org> | 1999-07-06 00:25:38 +0000 |
|---|---|---|
| committer | Jason Evans <jasone@FreeBSD.org> | 1999-07-06 00:25:38 +0000 |
| commit | 876cc3dae0b19d9912da0677b61f0bc807628156 (patch) | |
| tree | 41b3355c6b115efdbc0419b6f31d70a488a6e8ea /lib/libpthread/thread/thr_create.c | |
| parent | 5cb0ef41b54ddd4feabc187e0d5576982e7d527f (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_create.c')
| -rw-r--r-- | lib/libpthread/thread/thr_create.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libpthread/thread/thr_create.c b/lib/libpthread/thread/thr_create.c index 1b12c7b70410..f5631a5670ec 100644 --- a/lib/libpthread/thread/thr_create.c +++ b/lib/libpthread/thread/thr_create.c @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: uthread_create.c,v 1.13 1999/06/20 08:28:14 jb Exp $ + * $Id: uthread_create.c,v 1.14 1999/07/05 00:35:17 jasone Exp $ */ #include <errno.h> #include <stdlib.h> @@ -37,10 +37,8 @@ #include <fcntl.h> #include <unistd.h> #include <sys/time.h> -#ifdef _PTHREAD_GSTACK #include <sys/types.h> #include <sys/mman.h> -#endif #ifdef _THREAD_SAFE #include <machine/reg.h> #include <pthread.h> @@ -81,7 +79,7 @@ pthread_create(pthread_t * thread, const pthread_attr_t * attr, /* Check if a stack was specified in the thread attributes: */ if ((stack = pattr->stackaddr_attr) != NULL) { } -#ifdef _PTHREAD_GSTACK +#ifdef __i386__ /* Allocate memory for a default-size stack: */ else if (pattr->stacksize_attr == PTHREAD_STACK_DEFAULT) { struct stack * spare_stack; |
