From de0befb6d7ba3d1e6bbc67ca9c86d04412f2fb08 Mon Sep 17 00:00:00 2001 From: "Steve M. Robbins" Date: Tue, 7 Aug 2001 14:48:10 +0000 Subject: Fixes to allow building with SGI MIPSpro 7.30 compiler. The testsuite file examples/cppunittest/SubclassedTestCase.cpp causes the compiler to dump core, so that and HelperMacrosTest were not tested. The rest of the test suite passes. --- src/cppunit/TestAssert.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/cppunit/TestAssert.cpp') diff --git a/src/cppunit/TestAssert.cpp b/src/cppunit/TestAssert.cpp index 9d8a408..72d48d9 100644 --- a/src/cppunit/TestAssert.cpp +++ b/src/cppunit/TestAssert.cpp @@ -1,4 +1,8 @@ -#include +#if HAVE_CMATH +# include +#else +# include +#endif #include #include -- cgit v1.2.1