summaryrefslogtreecommitdiff
path: root/zdeflate.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2006-12-18 02:34:33 +0000
committerweidai <weidai11@users.noreply.github.com>2006-12-18 02:34:33 +0000
commit43b41c1042164bc5194f3f61a2ca131ea9014b4a (patch)
tree9732b0bb2e34535743af1bc3680de2ea8d013710 /zdeflate.cpp
parent54a2acd0aab8ab74ae2c9b88805d259398a1b17e (diff)
downloadcryptopp-git-43b41c1042164bc5194f3f61a2ca131ea9014b4a.tar.gz
update version number, port to Sun C++ 5.8
Diffstat (limited to 'zdeflate.cpp')
-rw-r--r--zdeflate.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/zdeflate.cpp b/zdeflate.cpp
index 102dc4d8..199439a5 100644
--- a/zdeflate.cpp
+++ b/zdeflate.cpp
@@ -639,6 +639,8 @@ void Deflator::EncodeBlock(bool eof, unsigned int blockType)
#if defined(_MSC_VER) && !defined(__MWERKS__) && (_MSC_VER < 1300)
// VC60 workaround: built-in reverse_iterator has two template parameters, Dinkumware only has one
typedef reverse_bidirectional_iterator<unsigned int *, unsigned int> RevIt;
+#elif defined(_RWSTD_NO_CLASS_PARTIAL_SPEC)
+ typedef reverse_iterator<unsigned int *, random_access_iterator_tag, unsigned int> RevIt;
#else
typedef reverse_iterator<unsigned int *> RevIt;
#endif