$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: John Maddock (john_at_[hidden])
Date: 2004-05-12 05:35:15
It looks as though _GLIBCXX_HAVE_GTHR_DEFAULT is defined by the std lib when
it's in thread safe mode, so I'm leaning towards adding:
#ifdef __GLIBCXX__ // gcc 3.4 and greater:
#ifdef _GLIBCXX_HAVE_GTHR_DEFAULT
#define BOOST_HAS_THREADS
#else
#define BOOST_DISABLE_THREADS
#endif
#endif
To our libstdcpp3.hpp config file, which I think will take care of it,
albeit not in a way that everyone will appreciate (it will force threading
on whenever the std lib is also thread safe).
Thoughts?
John.