mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +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
|
@ -2852,9 +2852,9 @@ static PyMethodDef parser_functions[] = {
|
|||
};
|
||||
|
||||
|
||||
DL_EXPORT(void) initparser(void); /* supply a prototype */
|
||||
PyMODINIT_FUNC initparser(void); /* supply a prototype */
|
||||
|
||||
DL_EXPORT(void)
|
||||
PyMODINIT_FUNC
|
||||
initparser(void)
|
||||
{
|
||||
PyObject *module, *copyreg;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue