Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r83842 - trunk/boost/chrono
From: vicente.botet_at_[hidden]
Date: 2013-04-11 01:59:07


Author: viboes
Date: 2013-04-11 01:59:06 EDT (Thu, 11 Apr 2013)
New Revision: 83842
URL: http://svn.boost.org/trac/boost/changeset/83842

Log:
Chrono: use libc++ constexpr if _LIBCPP_CONSTEXPR is defined #8367.
Text files modified:
   trunk/boost/chrono/config.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/chrono/config.hpp
==============================================================================
--- trunk/boost/chrono/config.hpp (original)
+++ trunk/boost/chrono/config.hpp 2013-04-11 01:59:06 EDT (Thu, 11 Apr 2013)
@@ -126,7 +126,7 @@
 
 #if defined( BOOST_NO_CXX11_NUMERIC_LIMITS )
 #define BOOST_CHRONO_LIB_CONSTEXPR
-#elif defined(_LIBCPP_VERSION) && _LIBCPP_VERSION < 1002
+#elif defined(_LIBCPP_VERSION) && !defined(_LIBCPP_CONSTEXPR)
   #define BOOST_CHRONO_LIB_CONSTEXPR
 #else
   #define BOOST_CHRONO_LIB_CONSTEXPR BOOST_CONSTEXPR


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