Commit c24fe36c authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

Allow _sre.c to compile with Python 2.2

parent 1bc2fdd7
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment