diff options
author | 2012-04-12 12:09:30 +0000 | |
---|---|---|
committer | 2012-04-12 12:09:30 +0000 | |
commit | 9f46d2f92106b3a6a8748cd773dc1a418b8a1263 (patch) | |
tree | a43b456d1eef26e74a95e04d9589fb8f94ad67ad /lib/libpthread/include/pthread.h | |
parent | PT_GETXMMREGS and PT_SETXMMREGS can take a TID. (diff) | |
download | wireguard-openbsd-9f46d2f92106b3a6a8748cd773dc1a418b8a1263.tar.xz wireguard-openbsd-9f46d2f92106b3a6a8748cd773dc1a418b8a1263.zip |
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/libpthread/include/pthread.h')
-rw-r--r-- | lib/libpthread/include/pthread.h | 7 |
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. */ |