From: Martin v. Löwis Date: Tue, 6 Mar 2001 12:14:54 +0000 (+0000) Subject: Avoid giving prototypes on Solaris. X-Git-Tag: v2.1b2~215 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=01c6526c0ebd83f418046edcc678c9a458c45f32;p=python Avoid giving prototypes on Solaris. --- diff --git a/Objects/floatobject.c b/Objects/floatobject.c index 2f1cbdf476..1215901084 100644 --- a/Objects/floatobject.c +++ b/Objects/floatobject.c @@ -28,7 +28,7 @@ extern double fmod(double, double); extern double pow(double, double); #endif -#ifdef sun +#if defined(sun) && !defined(__SVR4) /* On SunOS4.1 only libm.a exists. Make sure that references to all needed math functions exist in the executable, so that dynamic loading of mathmodule does not fail. */