mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
Add DL_EXPORT() to all modules that could possibly be used
on BeOS or Windows.
This commit is contained in:
parent
50f385c197
commit
3886bb6997
47 changed files with 47 additions and 46 deletions
|
@ -79,7 +79,7 @@ static PyMethodDef timing_methods[] = {
|
|||
};
|
||||
|
||||
|
||||
void inittiming()
|
||||
DL_EXPORT(void) inittiming()
|
||||
{
|
||||
(void)Py_InitModule("timing", timing_methods);
|
||||
if (PyErr_Occurred())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue