Disabled threading support when _POSIX_THREADS is not set

[SVN r17023]
This commit is contained in:
John Maddock
2003-01-24 12:44:33 +00:00
parent e4171501b5
commit b0aa8f3c2c

View File

@ -54,9 +54,17 @@
#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 <boost/config/posix_features.hpp>