commit | 487235109bba0cd0b05cb38569a44ea2296c29b0 | [log] [tgz] |
---|---|---|
author | Christian Heimes <christian@cheimes.de> | Sun Jan 20 14:28:28 2008 +0000 |
committer | Christian Heimes <christian@cheimes.de> | Sun Jan 20 14:28:28 2008 +0000 |
tree | c4fb45bf1bc2869105d3c0037299caceb3aea6b1 | |
parent | 858493251f7ed218d0f7ed5d2382e656bb169094 [diff] |
Fixed a wrong assumption in configure.in and Include/pyport.h. The is finite function is not called isfinite() but finite(). Sorry, my fault. :)
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 @@ return x*sqrt(1.+yx*yx); } } +#endif /* HAVE_HYPOT */ +