From 7fa91feb00f60b144e380f3d693ca281c17ce40c Mon Sep 17 00:00:00 2001 From: Toon Knapen Date: Fri, 18 Apr 2003 10:10:45 +0000 Subject: [PATCH] removed BOOST_HAS_THREADS as threads on HPUX11i are not compliant enough taking into account aCC version 53800 [SVN r18277] --- include/boost/config/compiler/hp_acc.hpp | 6 +++++- include/boost/config/platform/hpux.hpp | 7 ------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/include/boost/config/compiler/hp_acc.hpp b/include/boost/config/compiler/hp_acc.hpp index 2ca5d30f..1fa0412c 100644 --- a/include/boost/config/compiler/hp_acc.hpp +++ b/include/boost/config/compiler/hp_acc.hpp @@ -37,6 +37,10 @@ # define BOOST_HAS_PARTIAL_STD_ALLOCATOR #endif +#if (__HP_aCC <= 53800 ) +# define BOOST_NO_MEMBER_TEMPLATE_KEYWORD +#endif + #define BOOST_COMPILER "HP aCC version " BOOST_STRINGIZE(__HP_aCC) // @@ -47,7 +51,7 @@ #endif // // last known and checked version is 0: -#if (__HP_aCC > 33900) +#if (__HP_aCC > 53800) # if defined(BOOST_ASSERT_CONFIG) # error "Unknown compiler version - please run the configure tests and report the results" # endif diff --git a/include/boost/config/platform/hpux.hpp b/include/boost/config/platform/hpux.hpp index bd16015d..643eb347 100644 --- a/include/boost/config/platform/hpux.hpp +++ b/include/boost/config/platform/hpux.hpp @@ -22,13 +22,6 @@ #define BOOST_HAS_UNISTD_H #include -// HPUX has an incomplete pthreads implementation, so it doesn't -// define _POSIX_THREADS, but it might be enough to implement -// Boost.Threads. -#if !defined(BOOST_HAS_PTHREADS) && defined(_POSIX_THREAD_ATTR_STACKADDR) -# define BOOST_HAS_PTHREADS -#endif - // the following are always available: #ifndef BOOST_HAS_GETTIMEOFDAY # define BOOST_HAS_GETTIMEOFDAY