From c5b47e21361b2065b113e53208ad1be259115b23 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 22 Mar 2011 23:55:05 +0000 Subject: [PATCH] Merge [69261] to release. Fixes #5019. [SVN r70441] --- 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 7fcd09e..31cedbc 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