summaryrefslogtreecommitdiff
path: root/Python/pymath.c
diff options
context:
space:
mode:
authorAndrew MacIntyre <andymac@bullseye.apana.org.au>2008-09-22 14:49:01 +0000
committerAndrew MacIntyre <andymac@bullseye.apana.org.au>2008-09-22 14:49:01 +0000
commit2215ea45eadac58ca9168b8ab80a97e41551eb31 (patch)
treef5ebdfb7a4f9dcae794ebd791f494063717cf0d0 /Python/pymath.c
parent089067282ec49c87324394840c915ad515e3cb95 (diff)
downloadcpython-2215ea45eadac58ca9168b8ab80a97e41551eb31.tar.gz
Merged revisions 66552-66553 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r66552 | andrew.macintyre | 2008-09-23 00:10:54 +1000 (Tue, 23 Sep 2008) | 5 lines should use macro'ed symbols not direct Part of source_os2emx.patch in issue 3868 Reviewed by Amaury Forgeot d'Arc ........ r66553 | andrew.macintyre | 2008-09-23 00:11:41 +1000 (Tue, 23 Sep 2008) | 5 lines any platform without HAVE_LOG1P should have DBL_EPSILON in <float.h> Part of source_os2emx.patch in issue 3868 Reviewed by Amaury Forgeot d'Arc ........
Diffstat (limited to 'Python/pymath.c')
-rw-r--r--Python/pymath.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/pymath.c b/Python/pymath.c
index 7c0010675a..5cf61ab74c 100644
--- a/Python/pymath.c
+++ b/Python/pymath.c
@@ -35,6 +35,8 @@ copysign(double x, double y)
#endif /* HAVE_COPYSIGN */
#ifndef HAVE_LOG1P
+#include <float.h>
+
double
log1p(double x)
{