diff options
author | Andreas L <avlplus42@gmail.com> | 2017-08-04 20:16:28 +0200 |
---|---|---|
committer | Andreas L <avlplus42@gmail.com> | 2017-08-04 20:16:28 +0200 |
commit | e9e6550970c3a7f3dd338267c55244e2d7045eeb (patch) | |
tree | ed7ec060f105dbfbb8d57fff32012489b539dc76 /ACE | |
parent | 6cb15b7a1bed404167bde2e7c4d3b98fd061455d (diff) | |
download | ATCD-e9e6550970c3a7f3dd338267c55244e2d7045eeb.tar.gz |
Bump __SUNPRO_CC workaround check up to 0x5140
Oracle's DeveloperStudio12.5 (C++ 5.14) compiler still has
std::reverse_iterator with 6 template parameters - at least
on Solaris 11.3.
Diffstat (limited to 'ACE')
-rw-r--r-- | ACE/ace/config-lite.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/ace/config-lite.h b/ACE/ace/config-lite.h index 3c64478d354..e51765bbdcc 100644 --- a/ACE/ace/config-lite.h +++ b/ACE/ace/config-lite.h @@ -114,7 +114,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 <= 0x5130 \ +#if defined (__SUNPRO_CC) && __SUNPRO_CC <= 0x5140 \ && !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 @@ -129,7 +129,7 @@ ACE_END_VERSIONED_NAMESPACE_DECL typedef std::reverse_iterator<iterator, value_type> reverse_iterator; \ typedef std::reverse_iterator<const_iterator, \ value_type const> const_reverse_iterator; -#elif defined (__SUNPRO_CC) && __SUNPRO_CC <= 0x5130 \ +#elif defined (__SUNPRO_CC) && __SUNPRO_CC <= 0x5140 \ && defined (_RWSTD_NO_CLASS_PARTIAL_SPEC) # define ACE_DECLARE_STL_REVERSE_ITERATORS \ typedef std::reverse_iterator<iterator, \ |