diff options
| author | Christian Heimes <christian@cheimes.de> | 2008-01-20 14:28:28 +0000 |
|---|---|---|
| committer | Christian Heimes <christian@cheimes.de> | 2008-01-20 14:28:28 +0000 |
| commit | 487235109bba0cd0b05cb38569a44ea2296c29b0 (patch) | |
| tree | c4fb45bf1bc2869105d3c0037299caceb3aea6b1 /Include/pyport.h | |
| parent | 858493251f7ed218d0f7ed5d2382e656bb169094 (diff) | |
| download | cpython-git-487235109bba0cd0b05cb38569a44ea2296c29b0.tar.gz | |
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/pyport.h')
| -rw-r--r-- | Include/pyport.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/pyport.h b/Include/pyport.h index e375c3966e..225b126a73 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 |
