mirror of
https://github.com/python/cpython.git
synced 2026-05-18 18:33:57 -04:00
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:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user