From 9273f317474bb8e417db6802d1b2cf802ae223b4 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Wed, 14 Mar 2007 08:09:32 +0000 Subject: Wed Mar 14 08:09:12 UTC 2007 Johnny Willemsen --- ACE/ace/config-linux-common.h | 2 ++ ACE/ace/config-lite.h | 4 ++-- ACE/include/makeinclude/platform_linux_suncc.GNU | 7 +++++++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ACE/ace/config-linux-common.h b/ACE/ace/config-linux-common.h index 2a4323dc2e4..598bf6cd3e5 100644 --- a/ACE/ace/config-linux-common.h +++ b/ACE/ace/config-linux-common.h @@ -183,6 +183,8 @@ # undef ACE_LACKS_LLSEEK_PROTOTYPE # undef ACE_LACKS_LSEEK64_PROTOTYPE # include "ace/config-borland-common.h" +#elif defined (__SUNCC_PRO) +# include "ace/config-suncc-common.h" #elif defined (__PGI) // Portable group compiler # define ACE_HAS_CPLUSPLUS_HEADERS diff --git a/ACE/ace/config-lite.h b/ACE/ace/config-lite.h index 69466bbe394..0ed4c1bcaac 100644 --- a/ACE/ace/config-lite.h +++ b/ACE/ace/config-lite.h @@ -122,7 +122,7 @@ ACE_END_VERSIONED_NAMESPACE_DECL // Once all C++ compilers support the standard reverse_iterator // adapters, we can drop this generator macro or at least drop the // MSVC++ or Sun Studio preprocessor conditional blocks. -#if defined (__SUNPRO_CC) && __SUNPRO_CC <= 0x580 \ +#if defined (__SUNPRO_CC) && __SUNPRO_CC <= 0x590 \ && !defined (_STLPORT_VERSION) // If we're not using the stlport4 C++ library (which has standard // iterators), we need to ensure this is included in order to test @@ -136,7 +136,7 @@ ACE_END_VERSIONED_NAMESPACE_DECL typedef std::reverse_iterator reverse_iterator; \ typedef std::reverse_iterator const_reverse_iterator; -#elif defined (__SUNPRO_CC) && __SUNPRO_CC <= 0x580 \ +#elif defined (__SUNPRO_CC) && __SUNPRO_CC <= 0x590 \ && defined (_RWSTD_NO_CLASS_PARTIAL_SPEC) # define ACE_DECLARE_STL_REVERSE_ITERATORS \ typedef std::reverse_iterator