mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +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
|
@ -530,7 +530,7 @@ internal_select(PySocketSockObject *s, int writing)
|
|||
|
||||
static double defaulttimeout = -1.0; /* Default timeout for new sockets */
|
||||
|
||||
static void
|
||||
PyMODINIT_FUNC
|
||||
init_sockobject(PySocketSockObject *s,
|
||||
SOCKET_T fd, int family, int type, int proto)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue