Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82391 - trunk/boost/chrono
From: vicente.botet_at_[hidden]
Date: 2013-01-07 18:11:13


Author: viboes
Date: 2013-01-07 18:11:12 EST (Mon, 07 Jan 2013)
New Revision: 82391
URL: http://svn.boost.org/trac/boost/changeset/82391

Log:
Chrono: Don't use constexpr with libc++ < 1002
Text files modified:
   trunk/boost/chrono/config.hpp | 4 +++-
   1 files changed, 3 insertions(+), 1 deletions(-)

Modified: trunk/boost/chrono/config.hpp
==============================================================================
--- trunk/boost/chrono/config.hpp (original)
+++ trunk/boost/chrono/config.hpp 2013-01-07 18:11:12 EST (Mon, 07 Jan 2013)
@@ -123,8 +123,10 @@
 
 #if defined( BOOST_NO_CXX11_NUMERIC_LIMITS )
 #define BOOST_CHRONO_LIB_CONSTEXPR
+#elif defined(_LIBCPP_VERSION) && _LIBCPP_VERSION < 1002
+ #define BOOST_CHRONO_LIB_CONSTEXPR
 #else
-#define BOOST_CHRONO_LIB_CONSTEXPR BOOST_CONSTEXPR
+ #define BOOST_CHRONO_LIB_CONSTEXPR BOOST_CONSTEXPR
 #endif
 
 #if defined( BOOST_NO_CXX11_NUMERIC_LIMITS )


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