summaryrefslogtreecommitdiff
path: root/zdeflate.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2006-12-22 08:44:49 +0000
committerweidai <weidai11@users.noreply.github.com>2006-12-22 08:44:49 +0000
commit9ca2b9fb24687c8a8436d02b437bd1e91f95d0fb (patch)
treed6b4413cbd4d8430599c43f2d7770e5556fdc900 /zdeflate.cpp
parent00c10ca01835ce1676dfb0c3eb90c035389935e3 (diff)
downloadcryptopp-git-9ca2b9fb24687c8a8436d02b437bd1e91f95d0fb.tar.gz
fix compile for MSVC .NET 2003
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 199439a5..9fd15890 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