summaryrefslogtreecommitdiff
path: root/Modules/selectmodule.c
diff options
context:
space:
mode:
authorMark Hammond <mhammond@skippinet.com.au>2002-07-23 06:31:15 +0000
committerMark Hammond <mhammond@skippinet.com.au>2002-07-23 06:31:15 +0000
commita5371ed98d35f22701cd71abc69ab6f7b4133102 (patch)
treeb0cc5311db4a9bbb70ea648a335b6cc3f742662d /Modules/selectmodule.c
parentf72252973c2b4809803ecc25d178de7cd2956415 (diff)
downloadcpython-a5371ed98d35f22701cd71abc69ab6f7b4133102.tar.gz
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.
Diffstat (limited to 'Modules/selectmodule.c')
-rw-r--r--Modules/selectmodule.c2
1 files changed, 1 insertions, 1 deletions
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;