diff --git a/src/include/pthread.h b/src/include/pthread.h index ecbb76a5..cfb1356a 100644 --- a/src/include/pthread.h +++ b/src/include/pthread.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pthread.h,v 1.3 2017/11/04 22:53:57 jca Exp $ */ +/* $OpenBSD: pthread.h,v 1.4 2018/03/05 01:15:26 deraadt Exp $ */ /* * Copyright (c) 1993, 1994 by Chris Provenzano, proven@mit.edu @@ -51,7 +51,7 @@ */ #define PTHREAD_DESTRUCTOR_ITERATIONS 4 #define PTHREAD_KEYS_MAX 256 -#define PTHREAD_STACK_MIN 2048 +#define PTHREAD_STACK_MIN (1U << _MAX_PAGE_SHIFT) #define PTHREAD_THREADS_MAX ULONG_MAX /*