summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-01-04 13:57:26 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-01-04 13:57:26 (GMT)
commitd181e3a246b52284e3aeb412ef9678dc444eb82a (patch)
tree18b68f9c0180603629605f62153b61c2fffab0a3 /PC
parent04b272336d8f4842d752449427ebef608dfcaca3 (diff)
downloadcpython-d181e3a246b52284e3aeb412ef9678dc444eb82a.zip
cpython-d181e3a246b52284e3aeb412ef9678dc444eb82a.tar.gz
cpython-d181e3a246b52284e3aeb412ef9678dc444eb82a.tar.bz2
isinf and isnan are macros, not functions; fix configure script
to use AC_CHECK_DECLS instead of AC_CHECK_FUNCS for these. (See discussion in issue #4506)
Diffstat (limited to 'PC')
-rw-r--r--PC/pyconfig.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index d287401..255554a 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -399,11 +399,11 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
/* 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 `isinf' macro. */
+#define HAVE_DECL_ISINF 1
/* Define to 1 if you have the `isnan' function. */
-#define HAVE_ISNAN 1
+#define HAVE_DECL_ISNAN 1
/* Define if on AIX 3.
System headers sometimes define this.