Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81625 - trunk/boost/math/tools
From: john_at_[hidden]
Date: 2012-11-29 11:39:54


Author: johnmaddock
Date: 2012-11-29 11:39:53 EST (Thu, 29 Nov 2012)
New Revision: 81625
URL: http://svn.boost.org/trac/boost/changeset/81625

Log:
Enable use of C99 functions on libc++.
Fixes #7492.
Text files modified:
   trunk/boost/math/tools/config.hpp | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Modified: trunk/boost/math/tools/config.hpp
==============================================================================
--- trunk/boost/math/tools/config.hpp (original)
+++ trunk/boost/math/tools/config.hpp 2012-11-29 11:39:53 EST (Thu, 29 Nov 2012)
@@ -99,6 +99,10 @@
 # define BOOST_MATH_USE_C99
 #endif
 
+#if defined(_LIBCPP_VERSION) && !defined(_MSC_VER)
+# define BOOST_MATH_USE_C99
+#endif
+
 #if defined(__CYGWIN__) || defined(__HP_aCC) || defined(BOOST_INTEL) \
   || defined(BOOST_NO_NATIVE_LONG_DOUBLE_FP_CLASSIFY) \
   || (defined(__GNUC__) && !defined(BOOST_MATH_USE_C99))\


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