summaryrefslogtreecommitdiff
path: root/zdeflate.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2006-12-22 08:44:49 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2006-12-22 08:44:49 +0000
commit298c79f1c7f84cad8fc8124745d97ec8fb5cc77e (patch)
treed6b4413cbd4d8430599c43f2d7770e5556fdc900 /zdeflate.cpp
parentfe45679c2658dd76274684b47ec3cc64439d0d34 (diff)
downloadcryptopp-298c79f1c7f84cad8fc8124745d97ec8fb5cc77e.tar.gz
fix compile for MSVC .NET 2003
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@269 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 199439a..9fd1589 100644
--- a/zdeflate.cpp
+++ b/zdeflate.cpp
@@ -384,7 +384,7 @@ unsigned int Deflator::LongestMatch(unsigned int &bestMatch) const
{
assert(scan[2] == match[2]);
unsigned int len = (unsigned int)(
-#ifdef _STDEXT_BEGIN
+#if defined(_STDEXT_BEGIN) && !(defined(_MSC_VER) && _MSC_VER < 1400)
stdext::unchecked_mismatch
#else
std::mismatch