summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-01-22 15:01:25 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-01-22 15:01:25 (GMT)
commit690c91220e06b6e3214c8a8efc214db276967b09 (patch)
treee11b5b10a85940ce5382cf2c3a65f078a95ee2f2
parent953e1ee8f4f2522961b94c57a4c521fb041af228 (diff)
downloadcpython-690c91220e06b6e3214c8a8efc214db276967b09.zip
cpython-690c91220e06b6e3214c8a8efc214db276967b09.tar.gz
cpython-690c91220e06b6e3214c8a8efc214db276967b09.tar.bz2
Fixed a missing (X) in define
-rw-r--r--Include/pyport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index 225b126..bafa0c8 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -406,7 +406,7 @@ extern "C" {
*/
#ifndef Py_IS_FINITE
#ifdef HAVE_FINITE
-#define Py_IS_FINITE(X) finite
+#define Py_IS_FINITE(X) finite(X)
#else
#define Py_IS_FINITE(X) (!Py_IS_INFINITY(X) && !Py_IS_NAN(X))
#endif