Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype
for Py_Main(). Thanks to Kalle Svensson and Skip Montanaro for the patches.
This commit is contained in:
@@ -703,7 +703,7 @@ static PyMethodDef _codecs_functions[] = {
|
||||
{NULL, NULL} /* sentinel */
|
||||
};
|
||||
|
||||
DL_EXPORT(void)
|
||||
PyMODINIT_FUNC
|
||||
init_codecs(void)
|
||||
{
|
||||
Py_InitModule("_codecs", _codecs_functions);
|
||||
|
||||
Reference in New Issue
Block a user