mirror of
https://github.com/boostorg/config.git
synced 2025-08-01 05:14:28 +02:00
Hopefully fix gcc/solaris single threading mode.
[SVN r44171]
This commit is contained in:
@@ -16,6 +16,13 @@
|
|||||||
#define BOOST_HAS_UNISTD_H
|
#define BOOST_HAS_UNISTD_H
|
||||||
#include <boost/config/posix_features.hpp>
|
#include <boost/config/posix_features.hpp>
|
||||||
|
|
||||||
|
//
|
||||||
|
// pthreads don't actually work with gcc unless _PTHREADS is defined:
|
||||||
|
//
|
||||||
|
#if defined(__GNUC__) && defined(_POSIX_THREADS) && !defined(_PTHREADS)
|
||||||
|
# undef BOOST_HAS_PTHREADS
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -232,6 +232,8 @@
|
|||||||
#ifndef BOOST_HAS_THREADS
|
#ifndef BOOST_HAS_THREADS
|
||||||
# undef BOOST_HAS_PTHREADS
|
# undef BOOST_HAS_PTHREADS
|
||||||
# undef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
# undef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
||||||
|
# undef BOOST_HAS_PTHREAD_YIELD
|
||||||
|
# undef BOOST_HAS_PTHREAD_DELAY_NP
|
||||||
# undef BOOST_HAS_WINTHREADS
|
# undef BOOST_HAS_WINTHREADS
|
||||||
# undef BOOST_HAS_BETHREADS
|
# undef BOOST_HAS_BETHREADS
|
||||||
# undef BOOST_HAS_MPTASKS
|
# undef BOOST_HAS_MPTASKS
|
||||||
|
Reference in New Issue
Block a user