Index: boost/numeric/interval/detail/bugs.hpp =================================================================== RCS file: /cvsroot/boost/boost/boost/numeric/interval/detail/bugs.hpp,v retrieving revision 1.11 diff -u -p -b -B -r1.11 bugs.hpp --- boost/numeric/interval/detail/bugs.hpp 19 Jul 2004 21:38:06 -0000 1.11 +++ boost/numeric/interval/detail/bugs.hpp 22 Sep 2004 10:34:55 -0000 @@ -13,7 +13,7 @@ #include -#if defined(__GLIBC__) && !defined(__GLIBCPP__) && (defined(__USE_MISC) || defined(__USE_XOPEN_EXTENDED) || defined(__USE_ISOC99)) && !defined(__ICC) +#if defined(__GLIBC__) && (defined(__USE_MISC) || defined(__USE_XOPEN_EXTENDED) || defined(__USE_ISOC99)) && !defined(__ICC) # define BOOST_HAS_INV_HYPERBOLIC #endif @@ -24,11 +24,13 @@ # endif #else # define BOOST_NUMERIC_INTERVAL_using_math(a) using std::a -# if defined(__GNUC__) && (__GNUC__ == 3) && (__GNUC_MINOR__ > 3) +# if defined(BOOST_HAS_INV_HYPERBOLIC) +# if defined(__GLIBCPP__) || defined(__GLIBCXX__) # define BOOST_NUMERIC_INTERVAL_using_ahyp(a) using ::a -# elif defined(BOOST_HAS_INV_HYPERBOLIC) +# else # define BOOST_NUMERIC_INTERVAL_using_ahyp(a) using std::a # endif +# endif #endif #if defined(__COMO__) || defined(BOOST_INTEL)