Part of SF patch #102409 by jlt63 to support building these modules

under CYGWIN as shared libraries (DLLs).
This commit is contained in:
Guido van Rossum 2001-01-10 21:03:32 +00:00
parent 4c3f57cf05
commit 5a53019b0d
4 changed files with 10 additions and 11 deletions

View file

@ -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;