|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r50218 - trunk/boost/math/special_functions/detail
From: john_at_[hidden]
Date: 2008-12-09 05:15:47
Author: johnmaddock
Date: 2008-12-09 05:15:46 EST (Tue, 09 Dec 2008)
New Revision: 50218
URL: http://svn.boost.org/trac/boost/changeset/50218
Log:
Disable use of std::fpclassify for more platforms.
Text files modified:
trunk/boost/math/special_functions/detail/fp_traits.hpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
Modified: trunk/boost/math/special_functions/detail/fp_traits.hpp
==============================================================================
--- trunk/boost/math/special_functions/detail/fp_traits.hpp (original)
+++ trunk/boost/math/special_functions/detail/fp_traits.hpp 2008-12-09 05:15:46 EST (Tue, 09 Dec 2008)
@@ -539,7 +539,9 @@
template<class T> struct fp_traits
{
-#if (defined(BOOST_MATH_USE_C99) && (!defined(__GNUC__) || (__GNUC__ >= 4)))
+#if (defined(BOOST_MATH_USE_C99) && !(defined(__GNUC__) && (__GNUC__ < 4))) \
+ && !defined(__hpux) \
+ && !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__))
typedef typename select_native<T>::type type;
#else
typedef BOOST_DEDUCED_TYPENAME size_to_precision<sizeof(T), ::boost::is_floating_point<T>::value>::type precision;
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