From 2eda3f52999e844adf93e753ffee31966a00e8d5 Mon Sep 17 00:00:00 2001 From: "Vicente J. Botet Escriba" Date: Sat, 23 Mar 2013 01:44:06 +0000 Subject: [PATCH] Utility/address_off: fix #7079. [SVN r83524] --- include/boost/utility/addressof.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/utility/addressof.hpp b/include/boost/utility/addressof.hpp index 95cd92f..ecb7776 100644 --- a/include/boost/utility/addressof.hpp +++ b/include/boost/utility/addressof.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2002 Brad King (brad.king@kitware.com) +// Copyright (C) 2002 Brad King (brad.king@kitware.com) // Douglas Gregor (gregod@cs.rpi.edu) // // Copyright (C) 2002, 2008 Peter Dimov @@ -50,7 +50,7 @@ template struct addressof_impl template T * addressof( T & v ) { -#if defined( __BORLANDC__ ) && BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT( 0x610 ) ) +#if (defined( __BORLANDC__ ) && BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT( 0x610 ) ) ) || defined( __SUNPRO_CC ) return boost::detail::addressof_impl::f( v, 0 );