diff options
author | Christian Heimes <christian@cheimes.de> | 2008-01-20 14:28:28 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-01-20 14:28:28 (GMT) |
commit | 487235109bba0cd0b05cb38569a44ea2296c29b0 (patch) | |
tree | c4fb45bf1bc2869105d3c0037299caceb3aea6b1 /Python | |
parent | 858493251f7ed218d0f7ed5d2382e656bb169094 (diff) | |
download | cpython-487235109bba0cd0b05cb38569a44ea2296c29b0.zip cpython-487235109bba0cd0b05cb38569a44ea2296c29b0.tar.gz cpython-487235109bba0cd0b05cb38569a44ea2296c29b0.tar.bz2 |
Fixed a wrong assumption in configure.in and Include/pyport.h. The is finite function is not called isfinite() but finite(). Sorry, my fault. :)
Diffstat (limited to 'Python')
-rw-r--r-- | Python/hypot.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/hypot.c b/Python/hypot.c index 9d3c0d0..a18ce16 100644 --- a/Python/hypot.c +++ b/Python/hypot.c @@ -2,6 +2,7 @@ #include "Python.h" +#ifndef HAVE_HYPOT double hypot(double x, double y) { double yx; @@ -20,3 +21,5 @@ double hypot(double x, double y) return x*sqrt(1.+yx*yx); } } +#endif /* HAVE_HYPOT */ + |