]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
any platform without HAVE_LOG1P should have DBL_EPSILON in <float.h>
authorAndrew MacIntyre <andymac@bullseye.apana.org.au>
Mon, 22 Sep 2008 14:11:41 +0000 (14:11 +0000)
committerAndrew MacIntyre <andymac@bullseye.apana.org.au>
Mon, 22 Sep 2008 14:11:41 +0000 (14:11 +0000)
Part of source_os2emx.patch in issue 3868
Reviewed by Amaury Forgeot d'Arc

Python/pymath.c

index 7c0010675a332e3ca816424079a470287715d8de..5cf61ab74c60e099c3788d58c29f39ad93da8d54 100644 (file)
@@ -35,6 +35,8 @@ copysign(double x, double y)
 #endif /* HAVE_COPYSIGN */
 
 #ifndef HAVE_LOG1P
+#include <float.h>
+
 double
 log1p(double x)
 {