From 5bdae3b096bbab73eba5afcfe5a8cbbeb00c8cb0 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sat, 11 Feb 2006 21:15:15 +0000 Subject: [PATCH] In hash_float, only use _fpclass on Visual C++, I'll find out about other compilers later. [SVN r32833] --- include/boost/functional/detail/hash_float.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/functional/detail/hash_float.hpp b/include/boost/functional/detail/hash_float.hpp index ecb48cd..1811efe 100644 --- a/include/boost/functional/detail/hash_float.hpp +++ b/include/boost/functional/detail/hash_float.hpp @@ -20,7 +20,7 @@ #include #include -#if (defined(_WIN32) || defined(__WIN32__) || defined(WIN32)) && !defined(__DMC__) +#if defined(BOOST_MSVC) # define BOOST_HASH_USE_FPCLASS #elif (defined(__GLIBCPP__) || defined(__GLIBCXX__)) \ && (defined(__USE_ISOC99) || defined(_GLIBCXX_USE_C99_MATH))