Reverted to previous hopefully good version

[SVN r17040]
This commit is contained in:
John Maddock
2003-01-25 11:56:53 +00:00
parent 598573bd19
commit ddd1594f79

View File

@ -32,7 +32,7 @@
// FreeBSD 3.x has pthreads support, but defines _POSIX_THREADS in <pthread.h> // FreeBSD 3.x has pthreads support, but defines _POSIX_THREADS in <pthread.h>
// and not in <unistd.h> // and not in <unistd.h>
// //
#if (defined(__FreeBSD__) && (__FreeBSD__ <= 3)) || defined(__OpenBSD__) #if defined(__FreeBSD__) && (__FreeBSD__ <= 3)
# define BOOST_HAS_PTHREADS # define BOOST_HAS_PTHREADS
#endif #endif
@ -54,13 +54,6 @@
#define BOOST_HAS_GETTIMEOFDAY #define BOOST_HAS_GETTIMEOFDAY
#define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE #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: // boilerplate code:
#define BOOST_HAS_UNISTD_H #define BOOST_HAS_UNISTD_H
#include <boost/config/posix_features.hpp> #include <boost/config/posix_features.hpp>
@ -68,3 +61,4 @@