Turn off threading support if glibc++ is single threaded.

Enable threading support on HPUX for gcc >= 3.3.


[SVN r26967]
This commit is contained in:
John Maddock
2005-01-31 17:06:43 +00:00
parent 345eae6135
commit dcd606e1e1
2 changed files with 12 additions and 3 deletions
@@ -39,6 +39,9 @@
# else
# define BOOST_DISABLE_THREADS
# endif
#elif defined(__GLIBCPP__) && !defined(_GLIBCPP_HAVE_GTHR_DEFAULT)
// disable thread support if the std lib was built single threaded:
# define BOOST_DISABLE_THREADS
#endif