atomic_count and lightweight_mutex now report an #error on unknown threading configs.

[SVN r17303]
This commit is contained in:
Peter Dimov
2003-02-10 12:58:50 +00:00
parent 190893a1ce
commit 34f423f811
2 changed files with 4 additions and 14 deletions
+2 -1
View File
@@ -82,7 +82,8 @@
# define BOOST_LWM_USE_PTHREADS
# include <boost/detail/lwm_pthreads.hpp>
#else
# include <boost/detail/lwm_nop.hpp>
// Use #define BOOST_DISABLE_THREADS to avoid the error
# error Unrecognized threading platform
#endif
#endif // #ifndef BOOST_DETAIL_LIGHTWEIGHT_MUTEX_HPP_INCLUDED