Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52517 - in branches/release: . boost/functional/hash/detail
From: daniel_james_at_[hidden]
Date: 2009-04-20 13:26:15


Author: danieljames
Date: 2009-04-20 13:26:14 EDT (Mon, 20 Apr 2009)
New Revision: 52517
URL: http://svn.boost.org/trac/boost/changeset/52517

Log:
Fix float support on vxWorks.

Thanks to Dustin Spicuzza. Fixes #2957

Merged revisions 52481 via svnmerge from
https://svn.boost.org/svn/boost/trunk

Properties modified:
   branches/release/ (props changed)
Text files modified:
   branches/release/boost/functional/hash/detail/float_functions.hpp | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Modified: branches/release/boost/functional/hash/detail/float_functions.hpp
==============================================================================
--- branches/release/boost/functional/hash/detail/float_functions.hpp (original)
+++ branches/release/boost/functional/hash/detail/float_functions.hpp 2009-04-20 13:26:14 EDT (Mon, 20 Apr 2009)
@@ -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


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