|
Boost-Commit : |
From: daniel_james_at_[hidden]
Date: 2008-09-02 06:31:26
Author: danieljames
Date: 2008-09-02 06:31:26 EDT (Tue, 02 Sep 2008)
New Revision: 48529
URL: http://svn.boost.org/trac/boost/changeset/48529
Log:
Always use c99 float function overloads on Dinkumware, as it doesn't always have the C++ overloads. Refs #2264.
Text files modified:
trunk/boost/functional/detail/float_functions.hpp | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
Modified: trunk/boost/functional/detail/float_functions.hpp
==============================================================================
--- trunk/boost/functional/detail/float_functions.hpp (original)
+++ trunk/boost/functional/detail/float_functions.hpp 2008-09-02 06:31:26 EDT (Tue, 02 Sep 2008)
@@ -61,13 +61,9 @@
// Dinkumware.
#elif (defined(_YVALS) && !defined(__IBMCPP__)) || defined(_CPPLIB_VER)
-// Overloaded float functions were probably introduced in an earlier version
-// than this.
-# if defined(_CPPLIB_VER) && (_CPPLIB_VER >= 402)
-# define BOOST_HASH_USE_OVERLOAD_FLOAT_FUNCS
-# else
-# define BOOST_HASH_USE_C99_FLOAT_FUNCS
-# endif
+// I'm not sure which versions of Dinkumware have the C++ overloads
+// but they all seem to have the C99 float functions so I'll use them.
+# define BOOST_HASH_USE_C99_FLOAT_FUNCS
// Digital Mars
#elif defined(__DMC__)
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