summaryrefslogtreecommitdiff
path: root/zdeflate.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2004-07-03 01:20:11 +0000
committerweidai <weidai11@users.noreply.github.com>2004-07-03 01:20:11 +0000
commitebbfa727630241d70cfb4d54ca14e7333539a6ee (patch)
treeb9be61377a42dc73c1ed4980ce7070d3498c440a /zdeflate.cpp
parent2daca5912cabb9a2016293a2a56d72c04d9bb7ce (diff)
downloadcryptopp-git-ebbfa727630241d70cfb4d54ca14e7333539a6ee.tar.gz
allow compile with STLport again
Diffstat (limited to 'zdeflate.cpp')
-rw-r--r--zdeflate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zdeflate.cpp b/zdeflate.cpp
index b0e9f4b6..a5a8dafb 100644
--- a/zdeflate.cpp
+++ b/zdeflate.cpp
@@ -628,7 +628,7 @@ void Deflator::EncodeBlock(bool eof, unsigned int blockType)
{
if (blockType == DYNAMIC)
{
-#if defined(_MSC_VER) && !defined(__MWERKS__)
+#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;
#else