diff options
author | weidai <weidai11@users.noreply.github.com> | 2006-12-22 15:03:42 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2006-12-22 15:03:42 +0000 |
commit | a31a2a989fdb5264ce9574331a66103bedaaa2d8 (patch) | |
tree | 9dad087106c4206e097a4b8a2eacf0bec4876eb4 /zdeflate.cpp | |
parent | 9ca2b9fb24687c8a8436d02b437bd1e91f95d0fb (diff) | |
download | cryptopp-git-a31a2a989fdb5264ce9574331a66103bedaaa2d8.tar.gz |
fix compile for MSVC .NET 2002
Diffstat (limited to 'zdeflate.cpp')
-rw-r--r-- | zdeflate.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zdeflate.cpp b/zdeflate.cpp index 9fd15890..426e438a 100644 --- a/zdeflate.cpp +++ b/zdeflate.cpp @@ -636,8 +636,8 @@ void Deflator::EncodeBlock(bool eof, unsigned int blockType) { if (blockType == DYNAMIC) { -#if defined(_MSC_VER) && !defined(__MWERKS__) && (_MSC_VER < 1300) - // VC60 workaround: built-in reverse_iterator has two template parameters, Dinkumware only has one +#if defined(_MSC_VER) && !defined(__MWERKS__) && (_MSC_VER <= 1300) + // VC60 and VC7 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; |