From bda8f4845d73e241718b91afaecbc1b25b32512e Mon Sep 17 00:00:00 2001 From: Daniel James Date: Wed, 3 May 2006 18:34:43 +0000 Subject: [PATCH] Merge OS X hash float fix from head to rc_1_34_0. [SVN r33917] --- include/boost/functional/detail/hash_float.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/functional/detail/hash_float.hpp b/include/boost/functional/detail/hash_float.hpp index cb63935..07d19c3 100644 --- a/include/boost/functional/detail/hash_float.hpp +++ b/include/boost/functional/detail/hash_float.hpp @@ -23,7 +23,8 @@ #if !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION) # if defined(__GLIBCPP__) || defined(__GLIBCXX__) // GNU libstdc++ 3 -# if defined(__USE_ISOC99) || defined(_GLIBCXX_USE_C99_MATH) +# if (defined(__USE_ISOC99) || defined(_GLIBCXX_USE_C99_MATH)) && \ + !(defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)) # define BOOST_HASH_USE_FPCLASSIFY # endif # elif (defined(_YVALS) && !defined(__IBMCPP__)) || defined(_CPPLIB_VER)