From 814476afa283f53ecee3b8b42b1df8c89005932b Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sun, 19 Apr 2009 09:17:18 +0000 Subject: [PATCH] Fix float support on vxWorks. Thanks to Dustin Spicuzza. Refs #2957 [SVN r52481] --- 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