$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: john_at_[hidden]
Date: 2007-10-21 12:02:35
Author: johnmaddock
Date: 2007-10-21 12:02:34 EDT (Sun, 21 Oct 2007)
New Revision: 40269
URL: http://svn.boost.org/trac/boost/changeset/40269
Log:
Use __hppa to detect HP-UX on PA-RISC.
Text files modified: 
   trunk/boost/math/special_functions/fpclassify.hpp |     4 ++--                                    
   trunk/boost/math/special_functions/log1p.hpp      |     2 +-                                      
   trunk/boost/math/tools/config.hpp                 |     2 +-                                      
   3 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/boost/math/special_functions/fpclassify.hpp
==============================================================================
--- trunk/boost/math/special_functions/fpclassify.hpp	(original)
+++ trunk/boost/math/special_functions/fpclassify.hpp	2007-10-21 12:02:34 EDT (Sun, 21 Oct 2007)
@@ -40,8 +40,8 @@
 #     undef BOOST_HAS_FPCLASSIFY
 #     define BOOST_FPCLASSIFY_PREFIX
 #  endif
-#elif defined(__HP_aCC)
-// aCC appears to do "#define fpclassify fpclassify" which messes us up a bit!
+#elif (defined(__HP_aCC) && !defined(__hppa)
+// aCC 6 appears to do "#define fpclassify fpclassify" which messes us up a bit!
 #  define BOOST_FPCLASSIFY_PREFIX ::
 #else
 #  define BOOST_FPCLASSIFY_PREFIX
Modified: trunk/boost/math/special_functions/log1p.hpp
==============================================================================
--- trunk/boost/math/special_functions/log1p.hpp	(original)
+++ trunk/boost/math/special_functions/log1p.hpp	2007-10-21 12:02:34 EDT (Sun, 21 Oct 2007)
@@ -128,7 +128,7 @@
 #ifdef BOOST_HAS_LOG1P
 #  if (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901)) \
    || ((defined(linux) || defined(__linux) || defined(__linux__)) && !defined(__SUNPRO_CC)) \
-   || (defined(__hpux) && !defined(_PA_RISC1_1))
+   || (defined(__hpux) && !defined(__hppa))
 template <class Policy>
 inline float log1p(float x, const Policy& pol)
 { 
Modified: trunk/boost/math/tools/config.hpp
==============================================================================
--- trunk/boost/math/tools/config.hpp	(original)
+++ trunk/boost/math/tools/config.hpp	2007-10-21 12:02:34 EDT (Sun, 21 Oct 2007)
@@ -18,7 +18,7 @@
 
 #include <boost/math/tools/user.hpp>
 
-#if defined(__CYGWIN__) || defined(__FreeBSD__) || defined(_PA_RISC1_1)
+#if defined(__CYGWIN__) || defined(__FreeBSD__) || defined(__hppa)
 #  define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
 #endif
 #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x582))