Fixed a wrong assumption in configure.in and Include/pyport.h. The is finite function is not called isfinite() but finite(). Sorry, my fault. :)

This commit is contained in:
Christian Heimes 2008-01-20 14:28:28 +00:00
parent 858493251f
commit 487235109b
5 changed files with 31 additions and 10 deletions

View file

@ -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 */