diff options
author | Mark Hammond <mhammond@skippinet.com.au> | 2002-07-23 06:31:15 +0000 |
---|---|---|
committer | Mark Hammond <mhammond@skippinet.com.au> | 2002-07-23 06:31:15 +0000 |
commit | a5371ed98d35f22701cd71abc69ab6f7b4133102 (patch) | |
tree | b0cc5311db4a9bbb70ea648a335b6cc3f742662d /Modules/selectmodule.c | |
parent | f72252973c2b4809803ecc25d178de7cd2956415 (diff) | |
download | cpython-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.c | 2 |
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; |