From a57907c38eca1766f3e29aa5ffc8890b14dfc352 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Tue, 2 Sep 2008 10:31:26 +0000 Subject: [PATCH] Always use c99 float function overloads on Dinkumware, as it doesn't always have the C++ overloads. Refs #2264. [SVN r48529] --- include/boost/functional/detail/float_functions.hpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/include/boost/functional/detail/float_functions.hpp b/include/boost/functional/detail/float_functions.hpp index 72386ad..bdff827 100644 --- a/include/boost/functional/detail/float_functions.hpp +++ b/include/boost/functional/detail/float_functions.hpp @@ -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__)