Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84193 - trunk/boost/log/detail
From: andrey.semashev_at_[hidden]
Date: 2013-05-08 15:04:58


Author: andysem
Date: 2013-05-08 15:04:58 EDT (Wed, 08 May 2013)
New Revision: 84193
URL: http://svn.boost.org/trac/boost/changeset/84193

Log:
Disabled syslog sink when neither Boost.ASIO nor native syslog API are available.
Text files modified:
   trunk/boost/log/detail/config.hpp | 6 ++++++
   1 files changed, 6 insertions(+), 0 deletions(-)

Modified: trunk/boost/log/detail/config.hpp
==============================================================================
--- trunk/boost/log/detail/config.hpp (original)
+++ trunk/boost/log/detail/config.hpp 2013-05-08 15:04:58 EDT (Wed, 08 May 2013)
@@ -97,6 +97,12 @@
 # define BOOST_LOG_NO_ASIO
 #endif
 
+#if !defined(BOOST_LOG_USE_NATIVE_SYSLOG) && defined(BOOST_LOG_NO_ASIO)
+# ifndef BOOST_LOG_WITHOUT_SYSLOG
+# define BOOST_LOG_WITHOUT_SYSLOG
+# endif
+#endif
+
 #if (defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x530)) && !defined(BOOST_NO_COMPILER_CONFIG)
     // Sun C++ 5.3 can't handle the safe_bool idiom, so don't use it
 # define BOOST_LOG_NO_UNSPECIFIED_BOOL


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