components/cppunit/patches/fp.patch
author Rich Burridge <rich.burridge@oracle.com>
Tue, 02 May 2017 17:33:26 -0700
changeset 7964 d9801318ed3d
parent 4922 aa78e587dfdd
permissions -rw-r--r--
25981468 Build ilmbase and openexr with the GNU compilers

Changes needed to get cppunit to build on Solaris.

These changes will be reported upstream.

--- cppunit-1.12.1/include/cppunit/portability/FloatingPoint.h.orig	2015-05-08 06:53:35.731634778 -0700
+++ cppunit-1.12.1/include/cppunit/portability/FloatingPoint.h	2015-05-08 06:53:16.614630891 -0700
@@ -3,6 +3,9 @@
 
 #include <cppunit/Portability.h>
 #include <math.h>
+#if defined(sun)
+#include <ieeefp.h>
+#endif
 
 CPPUNIT_NS_BEGIN