summaryrefslogtreecommitdiff
path: root/zdeflate.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2004-07-03 01:20:11 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2004-07-03 01:20:11 +0000
commite844cb79246824fb345f5c9a41f2369979ef6185 (patch)
treeb9be61377a42dc73c1ed4980ce7070d3498c440a /zdeflate.cpp
parent52d12ac9a7018fb659b4f6cc11c35559d57cbf0b (diff)
downloadcryptopp-e844cb79246824fb345f5c9a41f2369979ef6185.tar.gz
allow compile with STLport again
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@182 57ff6487-cd31-0410-9ec3-f628ee90f5f0
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 b0e9f4b..a5a8daf 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