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 @@ +