mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Part of SF patch #102409 by jlt63 to support building these modules
under CYGWIN as shared libraries (DLLs).
This commit is contained in:
parent
4c3f57cf05
commit
5a53019b0d
4 changed files with 10 additions and 11 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue