|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r69261 - trunk/boost/smart_ptr/detail
From: pdimov_at_[hidden]
Date: 2011-02-24 18:30:23
Author: pdimov
Date: 2011-02-24 18:30:22 EST (Thu, 24 Feb 2011)
New Revision: 69261
URL: http://svn.boost.org/trac/boost/changeset/69261
Log:
Add support for BOOST_SP_NO_SYNC. Refs #5019.
Text files modified:
trunk/boost/smart_ptr/detail/sp_has_sync.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/smart_ptr/detail/sp_has_sync.hpp
==============================================================================
--- trunk/boost/smart_ptr/detail/sp_has_sync.hpp (original)
+++ trunk/boost/smart_ptr/detail/sp_has_sync.hpp 2011-02-24 18:30:22 EST (Thu, 24 Feb 2011)
@@ -20,7 +20,7 @@
// are available.
//
-#if defined(__GNUC__) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 401 )
+#if defined( __GNUC__ ) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 401 ) && !defined( BOOST_SP_NO_SYNC )
#define BOOST_SP_HAS_SYNC
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