Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52481 - trunk/boost/functional/hash/detail
From: daniel_james_at_[hidden]
Date: 2009-04-19 05:17:19


Author: danieljames
Date: 2009-04-19 05:17:18 EDT (Sun, 19 Apr 2009)
New Revision: 52481
URL: http://svn.boost.org/trac/boost/changeset/52481

Log:
Fix float support on vxWorks.

Thanks to Dustin Spicuzza. Refs #2957
Text files modified:
   trunk/boost/functional/hash/detail/float_functions.hpp | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Modified: trunk/boost/functional/hash/detail/float_functions.hpp
==============================================================================
--- trunk/boost/functional/hash/detail/float_functions.hpp (original)
+++ trunk/boost/functional/hash/detail/float_functions.hpp 2009-04-19 05:17:18 EDT (Sun, 19 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