Commit 7cf1fcf3 authored by Guido van Rossum's avatar Guido van Rossum

Always include config.h

parent 1e612490
...@@ -28,9 +28,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -28,9 +28,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* Include nearly all Python header files */ /* Include nearly all Python header files */
#ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
#endif
/* config.h may or may not define DL_IMPORT */ /* config.h may or may not define DL_IMPORT */
#ifndef DL_IMPORT /* declarations for DLL import/export */ #ifndef DL_IMPORT /* declarations for DLL import/export */
......
...@@ -30,9 +30,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -30,9 +30,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* Include files and extern declarations used by most of the parser. */ /* Include files and extern declarations used by most of the parser. */
#ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
#endif
/* config.h may or may not define DL_IMPORT */ /* config.h may or may not define DL_IMPORT */
#ifndef DL_IMPORT /* declarations for DLL import/export */ #ifndef DL_IMPORT /* declarations for DLL import/export */
......
...@@ -23,9 +23,7 @@ These notices must be retained in any copies of any part of this ...@@ -23,9 +23,7 @@ These notices must be retained in any copies of any part of this
documentation and/or software. documentation and/or software.
*/ */
#ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
#endif
#include "md5.h" #include "md5.h"
/* Constants for MD5Transform routine. /* Constants for MD5Transform routine.
......
...@@ -24,9 +24,7 @@ from GNU regexp. ...@@ -24,9 +24,7 @@ from GNU regexp.
*/ */
#ifdef HAVE_CONFIG_H
#include "config.h" /* For Win* specific redefinition of printf c.s. */ #include "config.h" /* For Win* specific redefinition of printf c.s. */
#endif
#include "myproto.h" /* For PROTO macro --Guido */ #include "myproto.h" /* For PROTO macro --Guido */
......
...@@ -24,10 +24,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -24,10 +24,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* Check for interrupts */ /* Check for interrupts */
#ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
#endif
#include "myproto.h" #include "myproto.h"
#include "intrcheck.h" #include "intrcheck.h"
......
...@@ -32,9 +32,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -32,9 +32,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- a malloc'ed string ending in \n normally - a malloc'ed string ending in \n normally
*/ */
#ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
#endif
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
......
...@@ -27,9 +27,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -27,9 +27,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
and is slow and inaccurate. and is slow and inaccurate.
But it's good enough for the occasional string literal... */ But it's good enough for the occasional string literal... */
#ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
#endif
#include <ctype.h> #include <ctype.h>
......
...@@ -24,9 +24,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -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 */ /* Portable fmod(x, y) implementation for systems that don't have it */
#ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
#endif
#include "mymath.h" #include "mymath.h"
#include <errno.h> #include <errno.h>
......
...@@ -26,9 +26,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -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) */ /* (A separate file because this may be OS dependent) */
#ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
#endif
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
......
...@@ -22,9 +22,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -22,9 +22,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
******************************************************************/ ******************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
#endif
/* Convert a possibly signed character to a nonnegative int */ /* Convert a possibly signed character to a nonnegative int */
/* XXX This assumes characters are 8 bits wide */ /* XXX This assumes characters are 8 bits wide */
......
#ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
#endif
/* comp.sources.misc strtod(), as posted in comp.lang.tcl, /* comp.sources.misc strtod(), as posted in comp.lang.tcl,
with bugfix for "123000.0" and acceptance of space after 'e' sign nuked. with bugfix for "123000.0" and acceptance of space after 'e' sign nuked.
......
...@@ -28,9 +28,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -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. which is included by this file dependent on config settings.
Stuff shared by all thread_*.h files is collected here. */ Stuff shared by all thread_*.h files is collected here. */
#ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
#endif
#include <stdio.h> #include <stdio.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment