]> granicus.if.org Git - python/commitdiff
Avoid giving prototypes on Solaris.
authorMartin v. Löwis <martin@v.loewis.de>
Tue, 6 Mar 2001 12:14:54 +0000 (12:14 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Tue, 6 Mar 2001 12:14:54 +0000 (12:14 +0000)
Objects/floatobject.c

index 2f1cbdf47667009fb79beb84804885a9d62ffb86..1215901084dbeb7d452f5f27a4363d9b47101b22 100644 (file)
@@ -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. */