From 0dd3bcb062c3aaf9ffb8ca56b58c13d5dc714545 Mon Sep 17 00:00:00 2001 From: Jose Date: Wed, 8 Aug 2012 18:52:08 +0200 Subject: remove VC6 support --- cpp/test/Freeze/complex/Parser.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'cpp/test/Freeze/complex/Parser.cpp') diff --git a/cpp/test/Freeze/complex/Parser.cpp b/cpp/test/Freeze/complex/Parser.cpp index 2c1a6341d76..3bbb5d64873 100644 --- a/cpp/test/Freeze/complex/Parser.cpp +++ b/cpp/test/Freeze/complex/Parser.cpp @@ -69,12 +69,7 @@ Parser::getInput(char* buf, int& result, int maxSize) { if(!_buf.empty()) { -#if defined(_MSC_VER) && _MSC_VER < 1500 && !defined(_STLP_MSVC) - // COMPILERBUG: Visual C++ defines min and max as macros - result = _MIN(maxSize, static_cast(_buf.length())); -#else result = min(maxSize, static_cast(_buf.length())); -#endif strncpy(buf, _buf.c_str(), result); _buf.erase(0, result); } -- cgit v1.2.3