[Python-checkins] python/dist/src/Modules _sre.c,2.96,2.97

akuchling@users.sourceforge.net akuchling@users.sourceforge.net
Wed, 30 Apr 2003 06:09:12 -0700


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

Modified Files:
	_sre.c 
Log Message:
Allow _sre.c to compile with Python 2.2

Index: _sre.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_sre.c,v
retrieving revision 2.96
retrieving revision 2.97
diff -C2 -d -r2.96 -r2.97
*** _sre.c	27 Apr 2003 14:42:54 -0000	2.96
--- _sre.c	30 Apr 2003 13:09:08 -0000	2.97
***************
*** 3111,3115 ****
--- 3111,3119 ----
  };
  
+ #if PY_VERSION_HEX < 0x02030000 
+ DL_EXPORT(void) init_sre(void)
+ #else
  PyMODINIT_FUNC init_sre(void)
+ #endif
  {
      PyObject* m;