commit | f8db82242b2620bcf56d7329e38107093dd053e0 | [log] [tgz] |
---|---|---|
author | Andrew MacIntyre <andymac@bullseye.apana.org.au> | Mon Sep 22 14:11:41 2008 +0000 |
committer | Andrew MacIntyre <andymac@bullseye.apana.org.au> | Mon Sep 22 14:11:41 2008 +0000 |
tree | 4d66b8a104c4bf0f0332bd06b0b7d3fa5b15e5f2 | |
parent | 8c47cabbe9da1972597007bc8c89efd3a615addb [diff] |
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
diff --git a/Python/pymath.c b/Python/pymath.c index 7c00106..5cf61ab 100644 --- a/Python/pymath.c +++ b/Python/pymath.c
@@ -35,6 +35,8 @@ #endif /* HAVE_COPYSIGN */ #ifndef HAVE_LOG1P +#include <float.h> + double log1p(double x) {