diff options
author | Guido van Rossum <guido@python.org> | 2001-01-10 21:03:32 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-01-10 21:03:32 (GMT) |
commit | 5a53019b0d4780b270c0c8027e0e66b7183fb661 (patch) | |
tree | 301ea469ac53ab9d55871b315ae993b0fd25a7dd /Modules/mmapmodule.c | |
parent | 4c3f57cf05c9d7ea5b1ff681703b95ce034f16c3 (diff) | |
download | cpython-5a53019b0d4780b270c0c8027e0e66b7183fb661.zip cpython-5a53019b0d4780b270c0c8027e0e66b7183fb661.tar.gz cpython-5a53019b0d4780b270c0c8027e0e66b7183fb661.tar.bz2 |
Part of SF patch #102409 by jlt63 to support building these modules
under CYGWIN as shared libraries (DLLs).
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 332b2da..c567e7b 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; |