summaryrefslogtreecommitdiff
path: root/boost/archive/detail/register_archive.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/archive/detail/register_archive.hpp')
-rw-r--r--boost/archive/detail/register_archive.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/archive/detail/register_archive.hpp b/boost/archive/detail/register_archive.hpp
index 81a19b9..5ffecc7 100644
--- a/boost/archive/detail/register_archive.hpp
+++ b/boost/archive/detail/register_archive.hpp
@@ -28,7 +28,7 @@ struct _ptr_serialization_support
typedef int type;
};
-#ifdef __SUNPRO_CC
+#if defined(__SUNPRO_CC) && (__SUNPRO_CC < 0x5130)
template<int N>
struct counter : counter<N-1> {};