summaryrefslogtreecommitdiff
path: root/ida.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2006-12-22 15:03:42 +0000
committerweidai <weidai11@users.noreply.github.com>2006-12-22 15:03:42 +0000
commita31a2a989fdb5264ce9574331a66103bedaaa2d8 (patch)
tree9dad087106c4206e097a4b8a2eacf0bec4876eb4 /ida.cpp
parent9ca2b9fb24687c8a8436d02b437bd1e91f95d0fb (diff)
downloadcryptopp-git-a31a2a989fdb5264ce9574331a66103bedaaa2d8.tar.gz
fix compile for MSVC .NET 2002
Diffstat (limited to 'ida.cpp')
-rw-r--r--ida.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ida.cpp b/ida.cpp
index fa6a4b8a..5cb43b22 100644
--- a/ida.cpp
+++ b/ida.cpp
@@ -392,8 +392,8 @@ size_t PaddingRemover::Put2(const byte *begin, size_t length, int messageEnd, bo
m_possiblePadding = false;
}
-#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<const byte *, const byte> RevIt;
#elif defined(_RWSTD_NO_CLASS_PARTIAL_SPEC)
typedef reverse_iterator<const byte *, random_access_iterator_tag, const byte> RevIt;