Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85870 - trunk/libs/log/src
From: andrey.semashev_at_[hidden]
Date: 2013-09-24 14:12:55


Author: andysem
Date: 2013-09-24 14:12:55 EDT (Tue, 24 Sep 2013)
New Revision: 85870
URL: http://svn.boost.org/trac/boost/changeset/85870

Log:
Corrected compilation in single-threaded mode. Fixes #9157.

Text files modified:
   trunk/libs/log/src/default_sink.cpp | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Modified: trunk/libs/log/src/default_sink.cpp
==============================================================================
--- trunk/libs/log/src/default_sink.cpp Tue Sep 24 10:28:51 2013 (r85869)
+++ trunk/libs/log/src/default_sink.cpp 2013-09-24 14:12:55 EDT (Tue, 24 Sep 2013) (r85870)
@@ -31,6 +31,8 @@
 
 BOOST_LOG_OPEN_NAMESPACE
 
+#if !defined(BOOST_LOG_NO_THREADS)
+
 namespace aux {
 
 // Defined in thread_id.cpp
@@ -38,6 +40,8 @@
 
 } // namespace aux
 
+#endif // !defined(BOOST_LOG_NO_THREADS)
+
 namespace sinks {
 
 namespace aux {


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk