From a76125c7dd07f79c82f3fed9be5c0a5627089e00 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 11 Dec 2009 14:29:59 +0100 Subject: Fix for Solaris "finite" in ieeefp.h instead of math.h See . --- include/cppunit/portability/FloatingPoint.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/cppunit') diff --git a/include/cppunit/portability/FloatingPoint.h b/include/cppunit/portability/FloatingPoint.h index e8c91b3..15bf95b 100644 --- a/include/cppunit/portability/FloatingPoint.h +++ b/include/cppunit/portability/FloatingPoint.h @@ -4,6 +4,11 @@ #include #include +#if defined(__sun) && !defined(CPPUNIT_HAVE_ISFINITE) && defined(CPPUNIT_HAVE_FINITE) +#include + // is still needed for usage of fabs in TestAssert.cpp +#endif + CPPUNIT_NS_BEGIN /// \brief Tests if a floating-point is a NaN. -- cgit v1.2.1