From 8c7b359fa225f0fee442105496a383d2732df1ad Mon Sep 17 00:00:00 2001 From: Jens Maurer Date: Fri, 11 Jul 2003 12:51:44 +0000 Subject: [PATCH] turn threading detail macros off if we don't (want to) use threading [SVN r19046] --- include/boost/config/suffix.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/boost/config/suffix.hpp b/include/boost/config/suffix.hpp index 93b45cef..80628b86 100644 --- a/include/boost/config/suffix.hpp +++ b/include/boost/config/suffix.hpp @@ -207,6 +207,17 @@ # undef BOOST_HAS_THREADS #endif +// +// Turn threading detail macros off if we don't (want to) use threading +// +#ifndef BOOST_HAS_THREADS +# undef BOOST_HAS_PTHREADS +# undef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE +# undef BOOST_HAS_WINTHREADS +# undef BOOST_HAS_BETHREADS +# undef BOOST_HAS_MPTASKS +#endif + // // If the compiler claims to be C99 conformant, then it had better // have a :