diff options
author | Mark Hammond <mhammond@skippinet.com.au> | 2002-07-23 06:31:15 (GMT) |
---|---|---|
committer | Mark Hammond <mhammond@skippinet.com.au> | 2002-07-23 06:31:15 (GMT) |
commit | 62b1ab1b314653c09757c533883447eda437306f (patch) | |
tree | 0aaf9538469559756f9129c5da8b09abc4903c04 /Modules/zlibmodule.c | |
parent | 92825a9a525c268b9797b8be28dbd959b64a821d (diff) | |
download | cpython-62b1ab1b314653c09757c533883447eda437306f.zip cpython-62b1ab1b314653c09757c533883447eda437306f.tar.gz cpython-62b1ab1b314653c09757c533883447eda437306f.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/zlibmodule.c b/Modules/zlibmodule.c index c0dbff6..4c1ce23 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; |