commit | c24fe36c57a2c5603ee351cbfcf3338766a964cb | [log] [tgz] |
---|---|---|
author | Andrew M. Kuchling <amk@amk.ca> | Wed Apr 30 13:09:08 2003 +0000 |
committer | Andrew M. Kuchling <amk@amk.ca> | Wed Apr 30 13:09:08 2003 +0000 |
tree | 48701f45ebd160e2b38f085a09a89a8456bc13c9 | |
parent | 1bc2fdd785d481d8b1d63b761a115e88f1481be9 [diff] [blame] |
Allow _sre.c to compile with Python 2.2
diff --git a/Modules/_sre.c b/Modules/_sre.c index b50eae3..8203ac8 100644 --- a/Modules/_sre.c +++ b/Modules/_sre.c
@@ -3110,7 +3110,11 @@ {NULL, NULL} }; +#if PY_VERSION_HEX < 0x02030000 +DL_EXPORT(void) init_sre(void) +#else PyMODINIT_FUNC init_sre(void) +#endif { PyObject* m; PyObject* d;