diff Modules/socketmodule.c @ 24363:979ff5d0ae07 legacy-trunk

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.
author Mark Hammond <mhammond@skippinet.com.au>
date Tue, 23 Jul 2002 06:31:15 +0000
parents 29ae8e89153b
children 89ce62126664
line wrap: on
line diff
--- a/Modules/socketmodule.c	Tue Jul 23 06:08:10 2002 +0000
+++ b/Modules/socketmodule.c	Tue Jul 23 06:31:15 2002 +0000
@@ -530,7 +530,7 @@
 
 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)
 {