summaryrefslogtreecommitdiff
path: root/zdeflate.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2007-09-15 02:38:57 +0000
committerweidai <weidai11@users.noreply.github.com>2007-09-15 02:38:57 +0000
commit2f8e40cb4be4ed9cac59706082f79fc345d42b5e (patch)
tree1e00da0bd4706ff55aeff43c2891343c1dc545bf /zdeflate.cpp
parent8e944f75d525a57b72cc5a64699ecba7903732aa (diff)
downloadcryptopp-git-2f8e40cb4be4ed9cac59706082f79fc345d42b5e.tar.gz
fix compile with fix compile for for STLport 5.1.3 and MSVC 2005
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 ae5e1a76..b08f357a 100644
--- a/zdeflate.cpp
+++ b/zdeflate.cpp
@@ -385,7 +385,7 @@ unsigned int Deflator::LongestMatch(unsigned int &bestMatch) const
{
assert(scan[2] == match[2]);
unsigned int len = (unsigned int)(
-#if defined(_STDEXT_BEGIN) && !(defined(_MSC_VER) && _MSC_VER < 1400)
+#if defined(_STDEXT_BEGIN) && !(defined(_MSC_VER) && _MSC_VER < 1400) && !defined(_STLPORT_VERSION)
stdext::unchecked_mismatch
#else
std::mismatch