From 9ca2b9fb24687c8a8436d02b437bd1e91f95d0fb Mon Sep 17 00:00:00 2001 From: weidai Date: Fri, 22 Dec 2006 08:44:49 +0000 Subject: [PATCH] fix compile for MSVC .NET 2003 --- zdeflate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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