mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
Replace DL_IMPORT with PyMODINIT_FUNC and remove "/export:init..." link
command line for Windows builds. This should allow MSVC to import and build the Python MSVC6 project files without error.
This commit is contained in:
parent
92825a9a52
commit
62b1ab1b31
22 changed files with 46 additions and 46 deletions
|
@ -635,7 +635,7 @@ PyDoc_STRVAR(module_doc,
|
|||
*** IMPORTANT NOTICE ***\n\
|
||||
On Windows, only sockets are supported; on Unix, all file descriptors.");
|
||||
|
||||
DL_EXPORT(void)
|
||||
PyMODINIT_FUNC
|
||||
initselect(void)
|
||||
{
|
||||
PyObject *m;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue