$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r50504 - trunk/boost/math/special_functions/detail
From: john_at_[hidden]
Date: 2009-01-07 13:26:21
Author: johnmaddock
Date: 2009-01-07 13:26:20 EST (Wed, 07 Jan 2009)
New Revision: 50504
URL: http://svn.boost.org/trac/boost/changeset/50504
Log:
Reconfigure STLPort.
Fixes #2631.
Text files modified: 
   trunk/boost/math/special_functions/detail/fp_traits.hpp |    15 ++++++++++-----                         
   1 files changed, 10 insertions(+), 5 deletions(-)
Modified: trunk/boost/math/special_functions/detail/fp_traits.hpp
==============================================================================
--- trunk/boost/math/special_functions/detail/fp_traits.hpp	(original)
+++ trunk/boost/math/special_functions/detail/fp_traits.hpp	2009-01-07 13:26:20 EST (Wed, 07 Jan 2009)
@@ -49,9 +49,13 @@
          && defined(_GLIBCXX_USE_C99_MATH) \
          && !(defined(_GLIBCXX_USE_C99_FP_MACROS_DYNAMIC) \
          && (_GLIBCXX_USE_C99_FP_MACROS_DYNAMIC != 0))
-#     ifdef _STLP_VENDOR_CSTD 
-#        define BOOST_FPCLASSIFY_PREFIX ::_STLP_VENDOR_CSTD:: 
-#     else 
+#     ifdef _STLP_VENDOR_CSTD
+#        if _STLPORT_VERSION >= 0x520
+#           define BOOST_FPCLASSIFY_PREFIX ::__std_alias:: 
+#        else
+#           define BOOST_FPCLASSIFY_PREFIX ::_STLP_VENDOR_CSTD:: 
+#        endif
+#     else
 #        define BOOST_FPCLASSIFY_PREFIX ::std::
 #     endif
 #  else
@@ -113,7 +117,7 @@
 Most processors support three different floating point precisions:
 single precision (32 bits), double precision (64 bits)
 and extended double precision (80 - 128 bits, depending on the processor)
-
+
 Note that the C++ type long double can be implemented
 both as double precision and extended double precision.
 */
@@ -540,7 +544,8 @@
 #if (defined(BOOST_MATH_USE_C99) && !(defined(__GNUC__) && (__GNUC__ < 4))) \
    && !defined(__hpux) \
    && !defined(__DECCXX)\
-   && !defined(__osf__)
+   && !defined(__osf__) \
+   && !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION)
 #  define BOOST_MATH_USE_STD_FPCLASSIFY
 #endif