summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-12-18 23:22:54 (GMT)
committerChristian Heimes <christian@cheimes.de>2007-12-18 23:22:54 (GMT)
commit0a8143f6462b491d3f12bfb899efd6e044e350be (patch)
tree855410e5c18dace91bbbb310b5660a40fb5f1eb6 /PC
parent8777bcae2749099b6ea3ac35f079bfa3df470a78 (diff)
downloadcpython-0a8143f6462b491d3f12bfb899efd6e044e350be.zip
cpython-0a8143f6462b491d3f12bfb899efd6e044e350be.tar.gz
cpython-0a8143f6462b491d3f12bfb899efd6e044e350be.tar.bz2
Applied patch #1635: Float patch for inf and nan on Windows (and other platforms).
The patch unifies float("inf") and repr(float("inf")) on all platforms.
Diffstat (limited to 'PC')
-rw-r--r--PC/pyconfig.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index f1f719f..560818f 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -386,6 +386,15 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
/* Fairly standard from here! */
+/* Define to 1 if you have the `copysign' function. */
+/* #define HAVE_COPYSIGN 1*/
+
+/* Define to 1 if you have the `isinf' function. */
+#define HAVE_ISINF 1
+
+/* Define to 1 if you have the `isnan' function. */
+#define HAVE_ISNAN 1
+
/* Define if on AIX 3.
System headers sometimes define this.
We just want to avoid a redefinition error message. */