summaryrefslogtreecommitdiffstats
path: root/Modules/parsermodule.c
diff options
context:
space:
mode:
authorMark Hammond <mhammond@skippinet.com.au>2002-07-23 06:31:15 (GMT)
committerMark Hammond <mhammond@skippinet.com.au>2002-07-23 06:31:15 (GMT)
commit62b1ab1b314653c09757c533883447eda437306f (patch)
tree0aaf9538469559756f9129c5da8b09abc4903c04 /Modules/parsermodule.c
parent92825a9a525c268b9797b8be28dbd959b64a821d (diff)
downloadcpython-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/parsermodule.c')
-rw-r--r--Modules/parsermodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c
index e790352..c48c368 100644
--- a/Modules/parsermodule.c
+++ b/Modules/parsermodule.c
@@ -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;