summaryrefslogtreecommitdiffstats
path: root/Python/strtod.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-04-07 16:07:23 (GMT)
committerGuido van Rossum <guido@python.org>1999-04-07 16:07:23 (GMT)
commit2571cc8bf50a9e08bc45116ee7f39de78139a6ca (patch)
tree4cd1520c835e29cbde8a0bfc3f281fff7c0e9beb /Python/strtod.c
parent99fb7c70f4e9e399c4cfbfb18f1f04a57fc80b50 (diff)
downloadcpython-2571cc8bf50a9e08bc45116ee7f39de78139a6ca.zip
cpython-2571cc8bf50a9e08bc45116ee7f39de78139a6ca.tar.gz
cpython-2571cc8bf50a9e08bc45116ee7f39de78139a6ca.tar.bz2
Changes by Mark Hammond for Windows CE. Mostly of the form
#ifdef DONT_HAVE_header_H ... #endif around #include <header.h>.
Diffstat (limited to 'Python/strtod.c')
-rw-r--r--Python/strtod.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/strtod.c b/Python/strtod.c
index 1c475e5..a0991d5 100644
--- a/Python/strtod.c
+++ b/Python/strtod.c
@@ -54,7 +54,9 @@ static double HUGE = 1.7976931348623157e308;
extern double atof(); /* Only called when result known to be ok */
+#ifndef DONT_HAVE_ERRNO_H
#include <errno.h>
+#endif
extern int errno;
double strtod(str, ptr)