|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r61806 - trunk/boost/math/tools
From: john_at_[hidden]
Date: 2010-05-06 06:21:18
Author: johnmaddock
Date: 2010-05-06 06:21:18 EDT (Thu, 06 May 2010)
New Revision: 61806
URL: http://svn.boost.org/trac/boost/changeset/61806
Log:
Disable long double support when the C++ runtime does not support it either.
Fixes #3825.
Text files modified:
trunk/boost/math/tools/config.hpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
Modified: trunk/boost/math/tools/config.hpp
==============================================================================
--- trunk/boost/math/tools/config.hpp (original)
+++ trunk/boost/math/tools/config.hpp 2010-05-06 06:21:18 EDT (Thu, 06 May 2010)
@@ -27,6 +27,9 @@
|| defined(__hppa) || defined(__NO_LONG_DOUBLE_MATH)
# define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
#endif
+#if !defined(_GLIBCXX_USE_LONG_DOUBLE) && (defined(__GLIBCXX__) || defined(__GLIBCPP__))
+# define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
+#endif
#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x582))
//
// Borland post 5.8.2 uses Dinkumware's std C lib which
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