mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
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.
This commit is contained in:
parent
92825a9a52
commit
62b1ab1b31
22 changed files with 46 additions and 46 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue