[Python-checkins] CVS: python/dist/src/Include Python.h,2.36,2.37 pgenheaders.h,2.25,2.26 pymem.h,2.3,2.4 pyport.h,2.28,2.29
Tim Peters
tim_one@users.sourceforge.net
Thu, 26 Jul 2001 14:35:01 -0700
Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv28872/python/dist/src/Include
Modified Files:
Python.h pgenheaders.h pymem.h pyport.h
Log Message:
Repair more now-obsolete references to config.h.
Index: Python.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/Python.h,v
retrieving revision 2.36
retrieving revision 2.37
diff -C2 -d -r2.36 -r2.37
*** Python.h 2001/07/26 13:41:05 2.36
--- Python.h 2001/07/26 21:34:59 2.37
***************
*** 28,32 ****
#endif
! /* config.h may or may not define DL_IMPORT */
#ifndef DL_IMPORT /* declarations for DLL import/export */
#define DL_IMPORT(RTYPE) RTYPE
--- 28,32 ----
#endif
! /* pyconfig.h may or may not define DL_IMPORT */
#ifndef DL_IMPORT /* declarations for DLL import/export */
#define DL_IMPORT(RTYPE) RTYPE
Index: pgenheaders.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pgenheaders.h,v
retrieving revision 2.25
retrieving revision 2.26
diff -C2 -d -r2.25 -r2.26
*** pgenheaders.h 2001/07/26 13:41:05 2.25
--- pgenheaders.h 2001/07/26 21:34:59 2.26
***************
*** 10,14 ****
#include "pyconfig.h"
! /* config.h may or may not define DL_IMPORT */
#ifndef DL_IMPORT /* declarations for DLL import/export */
#define DL_IMPORT(RTYPE) RTYPE
--- 10,14 ----
#include "pyconfig.h"
! /* pyconfig.h may or may not define DL_IMPORT */
#ifndef DL_IMPORT /* declarations for DLL import/export */
#define DL_IMPORT(RTYPE) RTYPE
Index: pymem.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pymem.h,v
retrieving revision 2.3
retrieving revision 2.4
diff -C2 -d -r2.3 -r2.4
*** pymem.h 2000/09/01 23:29:26 2.3
--- pymem.h 2001/07/26 21:34:59 2.4
***************
*** 141,145 ****
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) :
#define PyCore_MALLOC_FUNC d_malloc
--- 141,145 ----
d_malloc(size_t n, char* src_file, unsigned long src_line) c.s.
! In this case, you would define (for example in pyconfig.h) :
#define PyCore_MALLOC_FUNC d_malloc
Index: pyport.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pyport.h,v
retrieving revision 2.28
retrieving revision 2.29
diff -C2 -d -r2.28 -r2.29
*** pyport.h 2001/07/26 13:41:05 2.28
--- pyport.h 2001/07/26 21:34:59 2.29
***************
*** 129,133 ****
* and/or
* #define DONT_HAVE_FSTAT
! * to your config.h. Python code beyond this should check HAVE_STAT and
* HAVE_FSTAT instead.
* Also
--- 129,133 ----
* and/or
* #define DONT_HAVE_FSTAT
! * to your pyconfig.h. Python code beyond this should check HAVE_STAT and
* HAVE_FSTAT instead.
* Also