summaryrefslogtreecommitdiff
path: root/cpp/test/Freeze/complex/Parser.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2008-02-07 11:02:26 -0800
committerMark Spruiell <mes@zeroc.com>2008-02-07 11:02:26 -0800
commitc46e33634477cc0f2ca521a41cd235736c93c369 (patch)
treeb621ff90c930e1ea617a738d974d8bcfbcde88f1 /cpp/test/Freeze/complex/Parser.cpp
parentFixed VC90 compilation error (diff)
downloadice-c46e33634477cc0f2ca521a41cd235736c93c369.tar.bz2
ice-c46e33634477cc0f2ca521a41cd235736c93c369.tar.xz
ice-c46e33634477cc0f2ca521a41cd235736c93c369.zip
VC9 fix
Diffstat (limited to 'cpp/test/Freeze/complex/Parser.cpp')
-rw-r--r--cpp/test/Freeze/complex/Parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/Freeze/complex/Parser.cpp b/cpp/test/Freeze/complex/Parser.cpp
index 8d1754cb503..3bedb944b4f 100644
--- a/cpp/test/Freeze/complex/Parser.cpp
+++ b/cpp/test/Freeze/complex/Parser.cpp
@@ -69,7 +69,7 @@ Parser::getInput(char* buf, int& result, int maxSize)
{
if(!_buf.empty())
{
-#if defined(_MSC_VER) && !defined(_STLP_MSVC)
+#if defined(_MSC_VER) && _MSC_VER < 1500 && !defined(_STLP_MSVC)
// COMPILERBUG: Stupid Visual C++ defines min and max as macros
result = _MIN(maxSize, static_cast<int>(_buf.length()));
#else