summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-08-19 22:12:39 +0000
committerGuido van Rossum <guido@python.org>1996-08-19 22:12:39 +0000
commitbd873ebf4b97b9b80789a7201be2a80932031f4b (patch)
tree8766492e3c98cad28829e0bd5a6dd03d788e06b2 /Python
parentdeca0da8868bac44276f60e766464afef32ccbf3 (diff)
downloadcpython-bd873ebf4b97b9b80789a7201be2a80932031f4b.tar.gz
Always include config.h
Diffstat (limited to 'Python')
-rw-r--r--Python/atof.c2
-rw-r--r--Python/fmod.c2
-rw-r--r--Python/getmtime.c2
-rw-r--r--Python/mystrtoul.c2
-rw-r--r--Python/strtod.c2
-rw-r--r--Python/thread.c2
6 files changed, 0 insertions, 12 deletions
diff --git a/Python/atof.c b/Python/atof.c
index 894490a47b..f7e9b7d94e 100644
--- a/Python/atof.c
+++ b/Python/atof.c
@@ -27,9 +27,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
and is slow and inaccurate.
But it's good enough for the occasional string literal... */
-#ifdef HAVE_CONFIG_H
#include "config.h"
-#endif
#include <ctype.h>
diff --git a/Python/fmod.c b/Python/fmod.c
index 777166bcb6..ffe97f5737 100644
--- a/Python/fmod.c
+++ b/Python/fmod.c
@@ -24,9 +24,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* Portable fmod(x, y) implementation for systems that don't have it */
-#ifdef HAVE_CONFIG_H
#include "config.h"
-#endif
#include "mymath.h"
#include <errno.h>
diff --git a/Python/getmtime.c b/Python/getmtime.c
index fde6a3b9c2..1e27b07053 100644
--- a/Python/getmtime.c
+++ b/Python/getmtime.c
@@ -26,9 +26,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* (A separate file because this may be OS dependent) */
-#ifdef HAVE_CONFIG_H
#include "config.h"
-#endif
#include <sys/types.h>
#include <sys/stat.h>
diff --git a/Python/mystrtoul.c b/Python/mystrtoul.c
index a646283789..5dfade8282 100644
--- a/Python/mystrtoul.c
+++ b/Python/mystrtoul.c
@@ -22,9 +22,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
******************************************************************/
-#ifdef HAVE_CONFIG_H
#include "config.h"
-#endif
/* Convert a possibly signed character to a nonnegative int */
/* XXX This assumes characters are 8 bits wide */
diff --git a/Python/strtod.c b/Python/strtod.c
index dddc98bb56..1c475e5ca3 100644
--- a/Python/strtod.c
+++ b/Python/strtod.c
@@ -1,6 +1,4 @@
-#ifdef HAVE_CONFIG_H
#include "config.h"
-#endif
/* comp.sources.misc strtod(), as posted in comp.lang.tcl,
with bugfix for "123000.0" and acceptance of space after 'e' sign nuked.
diff --git a/Python/thread.c b/Python/thread.c
index 2d80b097e9..c6f8c51e75 100644
--- a/Python/thread.c
+++ b/Python/thread.c
@@ -28,9 +28,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
which is included by this file dependent on config settings.
Stuff shared by all thread_*.h files is collected here. */
-#ifdef HAVE_CONFIG_H
#include "config.h"
-#endif
#include <stdio.h>