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/selectmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Modules/selectmodule.c') diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c index 8fdc97d1d7..4149dc5251 100644 --- a/Modules/selectmodule.c +++ b/Modules/selectmodule.c @@ -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; -- cgit v1.2.1