From caa82cf5e4a3a02bc1ea98752937b4a06c664682 Mon Sep 17 00:00:00 2001 From: Aleric Inglewood Date: Thu, 7 Nov 2013 02:00:24 +0100 Subject: [PATCH] Workaround for window min/max macros --- indra/llxml/aixml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/llxml/aixml.cpp b/indra/llxml/aixml.cpp index db5bba7e3..d7592c431 100644 --- a/indra/llxml/aixml.cpp +++ b/indra/llxml/aixml.cpp @@ -410,7 +410,7 @@ T AIXMLElementParser::read_integer(char const* type, std::string const& value) c { long long int result; sscanf(value.c_str(),"%lld", &result); - if (result < std::numeric_limits::min() || result > std::numeric_limits::max()) + if (result < (std::numeric_limits::min)() || result > (std::numeric_limits::max)()) { THROW_MALERT("AIXMLElementParser_read_integer_Invalid_TYPE_VALUE_in_FILEDESC_FILENAME", AIArgs("[TYPE]", type)("[VALUE]", value)("FILEDESC", mFileDesc)("[FILENAME]", mFilename));