]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Always include config.h
authorGuido van Rossum <guido@python.org>
Mon, 19 Aug 1996 22:12:39 +0000 (22:12 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 19 Aug 1996 22:12:39 +0000 (22:12 +0000)
12 files changed:
Include/allobjects.h
Include/pgenheaders.h
Modules/md5c.c
Modules/regexpr.c
Parser/intrcheck.c
Parser/myreadline.c
Python/atof.c
Python/fmod.c
Python/getmtime.c
Python/mystrtoul.c
Python/strtod.c
Python/thread.c

index 87b978636dd516a48254e3cac4cf24aee5f0f770..d19eb2337d3a4c98829c496f01141379bab20029 100644 (file)
@@ -28,9 +28,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 /* Include nearly all Python header files */
 
-#ifdef HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 /* config.h may or may not define DL_IMPORT */
 #ifndef DL_IMPORT      /* declarations for DLL import/export */
index cc4386f6b9d41a078653d0bd45b5548ddcd28d97..6a3cdad3dacd0e742b9263544172a067a14474a5 100644 (file)
@@ -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. */
 
-#ifdef HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 /* config.h may or may not define DL_IMPORT */
 #ifndef DL_IMPORT      /* declarations for DLL import/export */
index d7c7e4fb277a9159f5820faca0b63197b9b4baec..81036ebd76ec67fbd867cee22331ca9fb8ddcf1c 100644 (file)
@@ -23,9 +23,7 @@ These notices must be retained in any copies of any part of this
 documentation and/or software.
  */
 
-#ifdef HAVE_CONFIG_H
 #include "config.h"
-#endif
 #include "md5.h"
 
 /* Constants for MD5Transform routine.
index 84f0b9489e160fe04f8a291be208e6035587411d..4f497f108b0f61843ae3bad48602e7fffbf28113 100644 (file)
@@ -24,9 +24,7 @@ from GNU regexp.
 
 */
 
-#ifdef HAVE_CONFIG_H
 #include "config.h" /* For Win* specific redefinition of printf c.s. */
-#endif
 
 #include "myproto.h" /* For PROTO macro --Guido */
 
index dd53a1acc26b284b5e76df6b0407b3a7140c1d2a..c3fabe7abdcf60a3fcec3244fb7adf7a28c4f782 100644 (file)
@@ -24,10 +24,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 /* Check for interrupts */
 
-#ifdef HAVE_CONFIG_H
 #include "config.h"
-#endif
-
 #include "myproto.h"
 #include "intrcheck.h"
 
index d210d8b9639b2b4c1ac8e9f8b27e3f46d7a8cc84..75a43ab9dd0b4f863bd4faa5bce21aae7eee1b88 100644 (file)
@@ -32,9 +32,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
    - a malloc'ed string ending in \n normally
 */
 
-#ifdef HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include <stdio.h>
 #include <string.h>
index 894490a47b98c382d43f7574aba17d54afb58d21..f7e9b7d94e29698fcc53b0f613e73b5dbcb567f1 100644 (file)
@@ -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>
 
index 777166bcb6318a108c6860461a08da8fc423ee05..ffe97f5737624bd91f2d08c257ba8ca26aa77c43 100644 (file)
@@ -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>
index fde6a3b9c2232fcaefe26593e72971c2778cdfe1..1e27b070535766dd74677214fa1c8cbf5c4aef8b 100644 (file)
@@ -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>
index a6462837899b688ca614dfca4e2d6f258dfa3a58..5dfade8282c7c42c59c57f7ea3e8614379b3bab8 100644 (file)
@@ -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 */
index dddc98bb5677c7fb411ae019d9366e0d9ad10584..1c475e5ca35001bfd8bd9944d1354c65ea133802 100644 (file)
@@ -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.
index 2d80b097e9450ee4c23b1fca58e16af76810d6ab..c6f8c51e75714436579937e1ce7466d692cc1743 100644 (file)
@@ -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>