mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Repair more now-obsolete references to config.h.
This commit is contained in:
parent
bd2e3b03d6
commit
76f373d081
10 changed files with 10 additions and 10 deletions
|
@ -27,7 +27,7 @@
|
|||
#include <limits.h>
|
||||
#endif
|
||||
|
||||
/* config.h may or may not define DL_IMPORT */
|
||||
/* pyconfig.h may or may not define DL_IMPORT */
|
||||
#ifndef DL_IMPORT /* declarations for DLL import/export */
|
||||
#define DL_IMPORT(RTYPE) RTYPE
|
||||
#endif
|
||||
|
|
|
@ -9,7 +9,7 @@ extern "C" {
|
|||
|
||||
#include "pyconfig.h"
|
||||
|
||||
/* config.h may or may not define DL_IMPORT */
|
||||
/* pyconfig.h may or may not define DL_IMPORT */
|
||||
#ifndef DL_IMPORT /* declarations for DLL import/export */
|
||||
#define DL_IMPORT(RTYPE) RTYPE
|
||||
#endif
|
||||
|
|
|
@ -140,7 +140,7 @@ extern DL_IMPORT(void) PyMem_Free(void *);
|
|||
|
||||
d_malloc(size_t n, char* src_file, unsigned long src_line) c.s.
|
||||
|
||||
In this case, you would define (for example in config.h) :
|
||||
In this case, you would define (for example in pyconfig.h) :
|
||||
|
||||
#define PyCore_MALLOC_FUNC d_malloc
|
||||
...
|
||||
|
|
|
@ -128,7 +128,7 @@ typedef unsigned LONG_LONG Py_uintptr_t;
|
|||
* #define DONT_HAVE_STAT
|
||||
* and/or
|
||||
* #define DONT_HAVE_FSTAT
|
||||
* to your config.h. Python code beyond this should check HAVE_STAT and
|
||||
* to your pyconfig.h. Python code beyond this should check HAVE_STAT and
|
||||
* HAVE_FSTAT instead.
|
||||
* Also
|
||||
* #define DONT_HAVE_SYS_STAT_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue