summaryrefslogtreecommitdiff
path: root/tests/test_document.cpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-10-25 13:44:26 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-10-25 13:44:26 -0700
commit94c08f27c69a1c8ed1549ffc94f46b0f447806b9 (patch)
tree8fc9592b7e1147ffbab0f85d88f10b77819f96f8 /tests/test_document.cpp
parentfe58041a619f6854d8bf7fb05ff7f718465cc9b9 (diff)
tests: Fix Borland C++ 5.4 compilation
The tests now compile fine but crash on the first floating-point exception despite our attempts to disable them in main()...
Diffstat (limited to 'tests/test_document.cpp')
-rw-r--r--tests/test_document.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_document.cpp b/tests/test_document.cpp
index 9c8c860..8573ce3 100644
--- a/tests/test_document.cpp
+++ b/tests/test_document.cpp
@@ -360,7 +360,7 @@ TEST(document_load_file_wide_ascii)
CHECK_NODE(doc, STR("<node />"));
}
-#if !defined(__DMC__) && !defined(__MWERKS__) && !(defined(__MINGW32__) && defined(__STRICT_ANSI__) && !defined(__MINGW64_VERSION_MAJOR))
+#if !defined(__DMC__) && !defined(__MWERKS__) && !(defined(__MINGW32__) && defined(__STRICT_ANSI__) && !defined(__MINGW64_VERSION_MAJOR)) && !defined(__BORLANDC__)
TEST(document_load_file_wide_unicode)
{
pugi::xml_document doc;