summaryrefslogtreecommitdiff
path: root/cppunit/solarisfinite.patch
blob: 0c15cdcb77a737563aac1ad99d6829ceb26ed591 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- misc/cppunit-1.12.1/include/cppunit/portability/FloatingPoint.h	Mon Mar  5 04:16:42 2007
+++ misc/build/cppunit-1.12.1/include/cppunit/portability/FloatingPoint.h	Thu Dec  3 16:34:23 2009
@@ -3,6 +3,11 @@
 
 #include <cppunit/Portability.h>
 #include <math.h>
+
+#if defined(__sun) && !defined(CPPUNIT_HAVE_ISFINITE) && defined(CPPUNIT_HAVE_FINITE)
+#include <ieeefp.h>
+  // <math.h> is still needed for usage of fabs in TestAssert.cpp
+#endif
 
 CPPUNIT_NS_BEGIN