mirror of
https://github.com/boostorg/smart_ptr.git
synced 2026-05-19 23:34:42 +02:00
atomic_count and lightweight_mutex now report an #error on unknown threading configs.
[SVN r17303]
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user