diff options
author | 2007-03-15 12:42:39 +0000 | |
---|---|---|
committer | 2007-03-15 12:42:39 +0000 | |
commit | 5c67637ce466c02f753d9e870ee39066fa5108c7 (patch) | |
tree | 7962582419e983d77938b1291e5c9a8c0ee5f4ee /lib/libpthread/include | |
parent | m_prepend() works only for sizes smaller than MHLEN. (diff) | |
download | wireguard-openbsd-5c67637ce466c02f753d9e870ee39066fa5108c7.tar.xz wireguard-openbsd-5c67637ce466c02f753d9e870ee39066fa5108c7.zip |
give _POSIX_THREAD_* defines a value of 1 so applications that
conditionally compile code using these defines will work.
okay tedu@, marc@, milllert@
Diffstat (limited to 'lib/libpthread/include')
-rw-r--r-- | lib/libpthread/include/pthread.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/libpthread/include/pthread.h b/lib/libpthread/include/pthread.h index ab8b4849619..3dd31028b9d 100644 --- a/lib/libpthread/include/pthread.h +++ b/lib/libpthread/include/pthread.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pthread.h,v 1.26 2006/05/30 19:13:04 otto Exp $ */ +/* $OpenBSD: pthread.h,v 1.27 2007/03/15 12:42:39 kurt Exp $ */ /* * Copyright (c) 1993, 1994 by Chris Provenzano, proven@mit.edu @@ -66,14 +66,14 @@ * Note that those commented out are not currently supported by the * implementation. */ -#define _POSIX_THREADS -#define _POSIX_THREAD_ATTR_STACKADDR -#define _POSIX_THREAD_ATTR_STACKSIZE -#define _POSIX_THREAD_PRIORITY_SCHEDULING -#define _POSIX_THREAD_PRIO_INHERIT -#define _POSIX_THREAD_PRIO_PROTECT +#define _POSIX_THREADS 1 +#define _POSIX_THREAD_ATTR_STACKADDR 1 +#define _POSIX_THREAD_ATTR_STACKSIZE 1 +#define _POSIX_THREAD_PRIORITY_SCHEDULING 1 +#define _POSIX_THREAD_PRIO_INHERIT 1 +#define _POSIX_THREAD_PRIO_PROTECT 1 /* #define _POSIX_THREAD_PROCESS_SHARED */ -#define _POSIX_THREAD_SAFE_FUNCTIONS +#define _POSIX_THREAD_SAFE_FUNCTIONS 1 /* * Flags for threads and thread attributes. |