summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-01-20 14:28:28 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-01-20 14:28:28 (GMT)
commit487235109bba0cd0b05cb38569a44ea2296c29b0 (patch)
treec4fb45bf1bc2869105d3c0037299caceb3aea6b1 /Include
parent858493251f7ed218d0f7ed5d2382e656bb169094 (diff)
downloadcpython-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 'Include')
-rw-r--r--Include/pyport.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index e375c39..225b126 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -405,8 +405,8 @@ extern "C" {
* macro for this particular test is useful
*/
#ifndef Py_IS_FINITE
-#ifdef HAVE_ISFINITE
-#define Py_IS_FINITE(X) isfinite
+#ifdef HAVE_FINITE
+#define Py_IS_FINITE(X) finite
#else
#define Py_IS_FINITE(X) (!Py_IS_INFINITY(X) && !Py_IS_NAN(X))
#endif