|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r71534 - trunk/boost/math
From: john_at_[hidden]
Date: 2011-04-27 12:00:02
Author: johnmaddock
Date: 2011-04-27 12:00:00 EDT (Wed, 27 Apr 2011)
New Revision: 71534
URL: http://svn.boost.org/trac/boost/changeset/71534
Log:
Tentative fix for FreeBSD failure.
Text files modified:
trunk/boost/math/tr1.hpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
Modified: trunk/boost/math/tr1.hpp
==============================================================================
--- trunk/boost/math/tr1.hpp (original)
+++ trunk/boost/math/tr1.hpp 2011-04-27 12:00:00 EDT (Wed, 27 Apr 2011)
@@ -104,6 +104,7 @@
# include <boost/config/auto_link.hpp>
#endif
+#if !defined(__cplusplus) && defined(FLT_EVAL_METHOD) && (FLT_EVAL_METHOD > 2)
#ifndef FLT_EVAL_METHOD
typedef float float_t;
typedef double double_t;
@@ -117,6 +118,7 @@
typedef long double float_t;
typedef long double double_t;
#endif
+#endif
// C99 Functions:
double BOOST_MATH_TR1_DECL boost_acosh BOOST_PREVENT_MACRO_SUBSTITUTION(double x) BOOST_MATH_C99_THROW_SPEC;
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