[Python-checkins] CVS: python/dist/src/Modules _sre.c,2.52,2.53 gdbmmodule.c,2.28,2.29

Tim Peters tim_one@users.sourceforge.net
Wed, 28 Feb 2001 08:44:20 -0800


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv2532/python/dist/src/Modules

Modified Files:
	_sre.c gdbmmodule.c 
Log Message:
SF patch 404928: Support for next Cygwin gcc (2.95.2-8)


Index: _sre.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_sre.c,v
retrieving revision 2.52
retrieving revision 2.53
diff -C2 -r2.52 -r2.53
*** _sre.c	2001/01/16 07:37:30	2.52
--- _sre.c	2001/02/28 16:44:18	2.53
***************
*** 2370,2377 ****
  };
  
! void
! #if defined(WIN32)
! __declspec(dllexport)
! #endif
  init_sre(void)
  {
--- 2370,2374 ----
  };
  
! DL_EXPORT(void)
  init_sre(void)
  {

Index: gdbmmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/gdbmmodule.c,v
retrieving revision 2.28
retrieving revision 2.29
diff -C2 -r2.28 -r2.29
*** gdbmmodule.c	2000/12/17 07:13:06	2.28
--- gdbmmodule.c	2001/02/28 16:44:18	2.29
***************
*** 12,16 ****
  #include "gdbm.h"
  
! #ifdef WIN32
  #include "gdbmerrno.h"
  extern const char * gdbm_strerror(gdbm_error);
--- 12,16 ----
  #include "gdbm.h"
  
! #if defined(WIN32) && !defined(__CYGWIN__)
  #include "gdbmerrno.h"
  extern const char * gdbm_strerror(gdbm_error);