fix compile for MSVC .NET 2003

pull/2/head
weidai 2006-12-22 08:44:49 +00:00
parent 00c10ca018
commit 9ca2b9fb24
1 changed files with 1 additions and 1 deletions

View File

@ -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