aboutsummaryrefslogtreecommitdiff
path: root/cutl/details/boost/config/stdlib/libstdcpp3.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'cutl/details/boost/config/stdlib/libstdcpp3.hpp')
-rw-r--r--cutl/details/boost/config/stdlib/libstdcpp3.hpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/cutl/details/boost/config/stdlib/libstdcpp3.hpp b/cutl/details/boost/config/stdlib/libstdcpp3.hpp
index c048b89..6127f5f 100644
--- a/cutl/details/boost/config/stdlib/libstdcpp3.hpp
+++ b/cutl/details/boost/config/stdlib/libstdcpp3.hpp
@@ -41,13 +41,17 @@
//
# define BOOST_HAS_THREADS
# else
-# define BOOST_DISABLE_THREADS
+# ifndef BOOST_DISABLE_THREADS
+# define BOOST_DISABLE_THREADS
+# endif
# endif
#elif defined(__GLIBCPP__) \
&& !defined(_GLIBCPP_HAVE_GTHR_DEFAULT) \
&& !defined(_GLIBCPP__PTHREADS)
// disable thread support if the std lib was built single threaded:
-# define BOOST_DISABLE_THREADS
+# ifndef BOOST_DISABLE_THREADS
+# define BOOST_DISABLE_THREADS
+# endif
#endif
#if (defined(linux) || defined(__linux) || defined(__linux__)) && defined(__arm__) && defined(_GLIBCPP_HAVE_GTHR_DEFAULT)