From b18b47770d5853f12853934b8fcc1044da5a15d0 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 24 Feb 2011 23:30:22 +0000 Subject: [PATCH] Add support for BOOST_SP_NO_SYNC. Refs #5019. [SVN r69261] --- include/boost/smart_ptr/detail/sp_has_sync.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/smart_ptr/detail/sp_has_sync.hpp b/include/boost/smart_ptr/detail/sp_has_sync.hpp index e89ba3a..2149210 100644 --- a/include/boost/smart_ptr/detail/sp_has_sync.hpp +++ b/include/boost/smart_ptr/detail/sp_has_sync.hpp @@ -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