diff Objects/floatobject.c @ 16999:eee7d0c5ae59 legacy-trunk

Avoid giving prototypes on Solaris.
author Martin v. Löwis <martin@v.loewis.de>
date Tue, 06 Mar 2001 12:14:54 +0000
parents abe85d2622f9
children 65a638a24f7e
line wrap: on
line diff
--- a/Objects/floatobject.c	Tue Mar 06 12:13:56 2001 +0000
+++ b/Objects/floatobject.c	Tue Mar 06 12:14:54 2001 +0000
@@ -28,7 +28,7 @@
 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. */