summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKurt Miller <kurt@cvs.openbsd.org>2012-04-12 12:09:31 +0000
committerKurt Miller <kurt@cvs.openbsd.org>2012-04-12 12:09:31 +0000
commit9de44a542c6cec93ab8ca1fce6c0befef88a47bf (patch)
treee7a00c736d703502e0f865f200f769533d689b85 /lib
parent7edd9ade6fd2bd173f58e6c43df92e49debd819b (diff)
Remove incorrect -pthread preprocessor define _POSIX_THREADS and replace
with _REENTRANT. Also remove undef _POSIX_THREADS in phread.h. From brad@comstyle.com. okay guenther@
Diffstat (limited to 'lib')
-rw-r--r--lib/libpthread/include/pthread.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/libpthread/include/pthread.h b/lib/libpthread/include/pthread.h
index 0dccc5e91f6..7a149d10373 100644
--- a/lib/libpthread/include/pthread.h
+++ b/lib/libpthread/include/pthread.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pthread.h,v 1.33 2012/04/11 10:18:46 pirofti Exp $ */
+/* $OpenBSD: pthread.h,v 1.34 2012/04/12 12:09:30 kurt Exp $ */
/*
* Copyright (c) 1993, 1994 by Chris Provenzano, proven@mit.edu
@@ -37,11 +37,6 @@
#ifndef _PTHREAD_H_
#define _PTHREAD_H_
-/* Previous releases of OpenBSD used a hacked gcc that defined this */
-#ifdef _POSIX_THREADS
-#undef _POSIX_THREADS /* Allow to be defined below */
-#endif
-
/*
* Header files.
*/