From ddd1594f798b0e628dc464203025a5dc0e1b5fbc Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sat, 25 Jan 2003 11:56:53 +0000 Subject: [PATCH] Reverted to previous hopefully good version [SVN r17040] --- include/boost/config/platform/bsd.hpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/include/boost/config/platform/bsd.hpp b/include/boost/config/platform/bsd.hpp index d0674c17..bafb8ef4 100644 --- a/include/boost/config/platform/bsd.hpp +++ b/include/boost/config/platform/bsd.hpp @@ -32,7 +32,7 @@ // FreeBSD 3.x has pthreads support, but defines _POSIX_THREADS in // and not in // -#if (defined(__FreeBSD__) && (__FreeBSD__ <= 3)) || defined(__OpenBSD__) +#if defined(__FreeBSD__) && (__FreeBSD__ <= 3) # define BOOST_HAS_PTHREADS #endif @@ -54,13 +54,6 @@ #define BOOST_HAS_GETTIMEOFDAY #define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE -// -// On *BSD thread support not enabled unless _POSIX_THREADS is defined: -// -#if !defined(_POSIX_THREADS) && defined(BOOST_HAS_THREADS) -# undef BOOST_HAS_THREADS -#endif - // boilerplate code: #define BOOST_HAS_UNISTD_H #include @@ -68,3 +61,4 @@ +