diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-01-04 15:09:02 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-01-04 15:09:02 (GMT) |
commit | 3dc7c6a375b44f8bdabb33ed53ee687e07a12948 (patch) | |
tree | dbb5890b615c3c3bc2127184a80f0d79e7fe6c02 /PC | |
parent | 277a150146585408d12aca6ae766f4797b0abff4 (diff) | |
download | cpython-3dc7c6a375b44f8bdabb33ed53ee687e07a12948.zip cpython-3dc7c6a375b44f8bdabb33ed53ee687e07a12948.tar.gz cpython-3dc7c6a375b44f8bdabb33ed53ee687e07a12948.tar.bz2 |
Merged revisions 68296,68299 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68296 | mark.dickinson | 2009-01-04 12:29:36 +0000 (Sun, 04 Jan 2009) | 6 lines
Add autoconf test to detect x87-style double rounding, as described in
issue #2937. This information can be helpful for diagnosing platform-
specific problems in math and cmath. The result of the test also
serves as a fairly reliable indicator of whether the x87 floating-point
instructions (as opposed to SSE2) are in use on Intel x86/x86_64 systems.
........
r68299 | mark.dickinson | 2009-01-04 13:57:26 +0000 (Sun, 04 Jan 2009) | 4 lines
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.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h index 53568a6..06d22a3 100644 --- a/PC/pyconfig.h +++ b/PC/pyconfig.h @@ -395,11 +395,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. |