Needed to include <math.h> on solaris for some odd reason for their
authorKent Mein <mein@cs.umn.edu>
Mon, 1 Nov 2004 14:25:34 +0000 (14:25 +0000)
committerKent Mein <mein@cs.umn.edu>
Mon, 1 Nov 2004 14:25:34 +0000 (14:25 +0000)
c++....   so I ifdefed it.

Kent

extern/solid/include/MT_Scalar.h

index 63090d06fc0bb87f2dc16bb0fab9531f9bbedda9..8cc06aebf2cb440fd6cc768c50f1bffcdf9afc0c 100755 (executable)
@@ -25,6 +25,9 @@
 #define MT_SCALAR_H
 
 #include <cmath>
+#if defined (__sun__) || defined ( __sun ) || defined (__sparc) || defined (__sparc__)
+#include <math.h>
+#endif
 
 #undef max