From 94c08f27c69a1c8ed1549ffc94f46b0f447806b9 Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Sun, 25 Oct 2015 13:44:26 -0700 Subject: 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()... --- tests/test_document.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_document.cpp') 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("")); } -#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; -- cgit v1.2.3