From 0640f87859a5a676b41783be4741a62f4d1ea266 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Wed, 28 Oct 2009 22:22:19 +0000 Subject: tests: More fixes and toolsets support git-svn-id: http://pugixml.googlecode.com/svn/trunk@190 99668b35-9821-0410-8761-19e4c4f06640 --- tests/test_xpath_operators.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/test_xpath_operators.cpp') diff --git a/tests/test_xpath_operators.cpp b/tests/test_xpath_operators.cpp index db834cd..08a54c4 100644 --- a/tests/test_xpath_operators.cpp +++ b/tests/test_xpath_operators.cpp @@ -1,7 +1,11 @@ #include "common.hpp" #if defined(_MSC_VER) && _MSC_VER == 1200 -#define MSVC6_NAN_BUG // NaN comparison on MSVC6 is incorrect, see http://www.nabble.com/assertDoubleEquals,-NaN---Microsoft-Visual-Studio-6-td9137859.html +# define MSVC6_NAN_BUG // NaN comparison on MSVC6 is incorrect, see http://www.nabble.com/assertDoubleEquals,-NaN---Microsoft-Visual-Studio-6-td9137859.html +#endif + +#if defined(__INTEL_COMPILER) && __INTEL_COMPILER == 800 +# define MSVC6_NAN_BUG // IC8 seems to have the same bug as MSVC6 does #endif TEST_XML(xpath_operators_arithmetic, "1023") -- cgit v1.2.3