summaryrefslogtreecommitdiff
path: root/cpp/test/Freeze/complex/Parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Freeze/complex/Parser.cpp')
-rw-r--r--cpp/test/Freeze/complex/Parser.cpp5
1 files changed, 0 insertions, 5 deletions
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<int>(_buf.length()));
-#else
result = min(maxSize, static_cast<int>(_buf.length()));
-#endif
strncpy(buf, _buf.c_str(), result);
_buf.erase(0, result);
}