Add DL_EXPORT() to all modules that could possibly be used

on BeOS or Windows.
This commit is contained in:
Guido van Rossum 1998-12-04 18:50:17 +00:00
parent 50f385c197
commit 3886bb6997
47 changed files with 47 additions and 46 deletions

View file

@ -79,7 +79,7 @@ static PyMethodDef timing_methods[] = {
};
void inittiming()
DL_EXPORT(void) inittiming()
{
(void)Py_InitModule("timing", timing_methods);
if (PyErr_Occurred())