From 0d0399df8aa5097e0301c7abf4f80557c5dbb46c Mon Sep 17 00:00:00 2001 From: Daniel James Date: Mon, 20 Apr 2009 17:26:14 +0000 Subject: [PATCH] Fix float support on vxWorks. Thanks to Dustin Spicuzza. Fixes #2957 Merged revisions 52481 via svnmerge from https://svn.boost.org/svn/boost/trunk [SVN r52517] --- include/boost/functional/hash/detail/float_functions.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/boost/functional/hash/detail/float_functions.hpp b/include/boost/functional/hash/detail/float_functions.hpp index 074b64f..69cf91a 100644 --- a/include/boost/functional/hash/detail/float_functions.hpp +++ b/include/boost/functional/hash/detail/float_functions.hpp @@ -59,6 +59,10 @@ # define BOOST_HASH_USE_OVERLOAD_FLOAT_FUNCS # endif +// vxWorks. It has its own math library, but uses Dinkumware STL +#elif defined(__VXWORKS__) +# define BOOST_HASH_USE_OVERLOAD_FLOAT_FUNCS + // Dinkumware. #elif (defined(_YVALS) && !defined(__IBMCPP__)) || defined(_CPPLIB_VER) // Some versions of Visual C++ don't seem to have the C++ overloads but they