diff options
Diffstat (limited to 'Modules/mmapmodule.c')
| -rw-r--r-- | Modules/mmapmodule.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c index 332b2dab55..c567e7b583 100644 --- a/Modules/mmapmodule.c +++ b/Modules/mmapmodule.c @@ -952,13 +952,7 @@ static struct PyMethodDef mmap_functions[] = { {NULL, NULL} /* Sentinel */ }; -#ifdef MS_WIN32 -__declspec(dllexport) void -#endif /* MS_WIN32 */ -#ifdef UNIX -extern void -#endif - +DL_EXPORT(void) initmmap(void) { PyObject *dict, *module; |
