Allow _sre.c to compile with Python 2.2
This commit is contained in:
parent
1bc2fdd785
commit
c24fe36c57
|
@ -3110,7 +3110,11 @@ static PyMethodDef _functions[] = {
|
|||
{NULL, NULL}
|
||||
};
|
||||
|
||||
#if PY_VERSION_HEX < 0x02030000
|
||||
DL_EXPORT(void) init_sre(void)
|
||||
#else
|
||||
PyMODINIT_FUNC init_sre(void)
|
||||
#endif
|
||||
{
|
||||
PyObject* m;
|
||||
PyObject* d;
|
||||
|
|
Loading…
Reference in New Issue