summaryrefslogtreecommitdiff
path: root/Modules/zlibmodule.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/zlibmodule.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/zlibmodule.c')
-rw-r--r--Modules/zlibmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/zlibmodule.c b/Modules/zlibmodule.c
index c0dbff6c50..4c1ce23e21 100644
--- a/Modules/zlibmodule.c
+++ b/Modules/zlibmodule.c
@@ -834,7 +834,7 @@ PyDoc_STRVAR(zlib_module_documentation,
"Compressor objects support compress() and flush() methods; decompressor\n"
"objects support decompress() and flush().");
-DL_EXPORT(void)
+PyMODINIT_FUNC
PyInit_zlib(void)
{
PyObject *m, *ver;