* workaround some missing things on Solaris --- a/src/u_quartic.c +++ b/src/u_quartic.c @@ -21,4 +21,7 @@ #include + #ifndef M_PI + # define M_PI 3.14159265358979323846 + #endif static int --- a/src/w_intersect.c +++ b/src/w_intersect.c @@ -31,6 +31,11 @@ #define ISET_P1 (1 << 0) #define ISET_P2 (1 << 1) +#if defined (__SVR4) && defined (__sun) +#undef _Complex_I +#define _Complex_I (__extension__ 1.0fi) +#endif + intersect_state_e intersect_state = INTERSECT_INITIAL; static INLINE Boolean