Part of SF patch #102409 by jlt63 to support building these modules
under CYGWIN as shared libraries (DLLs).
diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c
index 332b2da..c567e7b 100644
--- a/Modules/mmapmodule.c
+++ b/Modules/mmapmodule.c
@@ -952,13 +952,7 @@
 	{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;