From 62b1ab1b314653c09757c533883447eda437306f Mon Sep 17 00:00:00 2001 From: Mark Hammond Date: Tue, 23 Jul 2002 06:31:15 +0000 Subject: 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. --- Modules/socketmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Modules/socketmodule.c') diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index d5c925b79f..dee042b206 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -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) { -- cgit v1.2.1