summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKurt Miller <kurt@cvs.openbsd.org>2007-03-15 12:42:40 +0000
committerKurt Miller <kurt@cvs.openbsd.org>2007-03-15 12:42:40 +0000
commitd168d9a2512453f9da806bcabc86150ecdc9cfb8 (patch)
treee7c926d32660967c2aeba87d97f865b9cbd33d20 /lib
parent5626858a6440777cf915a7e298961973ac2accef (diff)
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')
-rw-r--r--lib/libpthread/include/pthread.h16
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.