summaryrefslogtreecommitdiff
path: root/tests/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/main.cpp')
-rw-r--r--tests/main.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/main.cpp b/tests/main.cpp
index b8d4e53..4330009 100644
--- a/tests/main.cpp
+++ b/tests/main.cpp
@@ -110,6 +110,15 @@ static bool run_test(test_runner* test)
#endif
}
+#if defined(__CELLOS_LV2__) && defined(PUGIXML_NO_EXCEPTIONS) && !defined(__SNC__)
+#include <stdlib.h>
+
+void std::exception::_Raise() const
+{
+ abort();
+}
+#endif
+
int main()
{
#ifdef __BORLANDC__