summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-03-06 12:14:54 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-03-06 12:14:54 (GMT)
commit01c6526c0ebd83f418046edcc678c9a458c45f32 (patch)
treea89a6a4503bbb93948a6ae12b82e000ffd1ddf86 /Objects
parentf58de1bd678e3d032ff8f6a569b5448d68eb1ff7 (diff)
downloadcpython-01c6526c0ebd83f418046edcc678c9a458c45f32.zip
cpython-01c6526c0ebd83f418046edcc678c9a458c45f32.tar.gz
cpython-01c6526c0ebd83f418046edcc678c9a458c45f32.tar.bz2
Avoid giving prototypes on Solaris.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/floatobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c
index 2f1cbdf..1215901 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. */