Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 76f373d

Browse files
committed
Repair more now-obsolete references to config.h.
1 parent bd2e3b0 commit 76f373d

10 files changed

Lines changed: 10 additions & 10 deletions

File tree

Include/Python.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#include <limits.h>
2828
#endif
2929

30-
/* config.h may or may not define DL_IMPORT */
30+
/* pyconfig.h may or may not define DL_IMPORT */
3131
#ifndef DL_IMPORT /* declarations for DLL import/export */
3232
#define DL_IMPORT(RTYPE) RTYPE
3333
#endif

Include/pgenheaders.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ extern "C" {
99

1010
#include "pyconfig.h"
1111

12-
/* config.h may or may not define DL_IMPORT */
12+
/* pyconfig.h may or may not define DL_IMPORT */
1313
#ifndef DL_IMPORT /* declarations for DLL import/export */
1414
#define DL_IMPORT(RTYPE) RTYPE
1515
#endif

Include/pymem.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ extern DL_IMPORT(void) PyMem_Free(void *);
140140
141141
d_malloc(size_t n, char* src_file, unsigned long src_line) c.s.
142142
143-
In this case, you would define (for example in config.h) :
143+
In this case, you would define (for example in pyconfig.h) :
144144
145145
#define PyCore_MALLOC_FUNC d_malloc
146146
...

Include/pyport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ typedef unsigned LONG_LONG Py_uintptr_t;
128128
* #define DONT_HAVE_STAT
129129
* and/or
130130
* #define DONT_HAVE_FSTAT
131-
* to your config.h. Python code beyond this should check HAVE_STAT and
131+
* to your pyconfig.h. Python code beyond this should check HAVE_STAT and
132132
* HAVE_FSTAT instead.
133133
* Also
134134
* #define DONT_HAVE_SYS_STAT_H

PC/os2vacpp/pyconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define Py_CONFIG_H
33

44
/**********************************************************************
5-
* config.h. NOT Generated automatically by configure.
5+
* pyconfig.h. NOT Generated automatically by configure.
66
*
77
* This is a manually maintained version used for the IBM VisualAge
88
* C/C++ compiler on the OS/2 platform. It is a standard part of

PC/pyconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef Py_CONFIG_H
22
#define Py_CONFIG_H
33

4-
/* config.h. NOT Generated automatically by configure.
4+
/* pyconfig.h. NOT Generated automatically by configure.
55
66
This is a manually maintained version used for the Watcom,
77
Borland and and Microsoft Visual C++ compilers. It is a

PC/readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ To make a Python port, start the Integrated Development Environment
5050
(or makefile) provided. This will enable you to change any source
5151
files or build settings so you can make custom builds.
5252

53-
config.h An important configuration file specific to PC's.
53+
pyconfig.h An important configuration file specific to PC's.
5454

5555
config.c The list of C modules to include in the Python PC
5656
version. Manually edit this file to add or

PCbuild/python.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ Source: Lib\xml\*.py; DestDir: "{app}\Lib\xml"; CopyMode: alwaysoverwrite; Flags
172172
Source: Lib\lib-old\*.py; DestDir: "{app}\Lib\lib-old"; CopyMode: alwaysoverwrite; Components: main
173173
Source: Lib\site-packages\README; DestDir: "{app}\Lib\site-packages"; DestName: README.txt; CopyMode: alwaysoverwrite; Components: main
174174
Source: Include\*.h; DestDir: "{app}\include"; CopyMode: alwaysoverwrite; Components: main
175-
Source: PC\config.h; DestDir: "{app}\include"; CopyMode: alwaysoverwrite; Components: main
175+
Source: PC\pyconfig.h; DestDir: "{app}\include"; CopyMode: alwaysoverwrite; Components: main
176176

177177
Source: Tools\scripts\*.py; DestDir: "{app}\Tools\Scripts"; CopyMode: alwaysoverwrite; Components: tools
178178
Source: Tools\scripts\*.pyw; DestDir: "{app}\Tools\Scripts"; CopyMode: alwaysoverwrite; Components: tools

Python/thread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#include "pyconfig.h"
99

10-
/* config.h may or may not define DL_IMPORT */
10+
/* pyconfig.h may or may not define DL_IMPORT */
1111
#ifndef DL_IMPORT /* declarations for DLL import/export */
1212
#define DL_IMPORT(RTYPE) RTYPE
1313
#endif

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def build_extensions(self):
8484
for ext in self.extensions[:]:
8585
ext.sources = [ os.path.join(moddir, filename)
8686
for filename in ext.sources ]
87-
ext.include_dirs.append( '.' ) # to get config.h
87+
ext.include_dirs.append( '.' ) # to get pyconfig.h
8888
ext.include_dirs.append( os.path.join(srcdir, './Include') )
8989

9090
# If a module has already been built statically,

0 commit comments

Comments
 (0)