In hash_float, only use _fpclass on Visual C++, I'll find out about other compilers later.

[SVN r32833]
This commit is contained in:
Daniel James
2006-02-11 21:15:15 +00:00
parent 7aeaa0f669
commit 5bdae3b096

View File

@@ -20,7 +20,7 @@
#include <boost/assert.hpp> #include <boost/assert.hpp>
#include <errno.h> #include <errno.h>
#if (defined(_WIN32) || defined(__WIN32__) || defined(WIN32)) && !defined(__DMC__) #if defined(BOOST_MSVC)
# define BOOST_HASH_USE_FPCLASS # define BOOST_HASH_USE_FPCLASS
#elif (defined(__GLIBCPP__) || defined(__GLIBCXX__)) \ #elif (defined(__GLIBCPP__) || defined(__GLIBCXX__)) \
&& (defined(__USE_ISOC99) || defined(_GLIBCXX_USE_C99_MATH)) && (defined(__USE_ISOC99) || defined(_GLIBCXX_USE_C99_MATH))