diff Modules/parsermodule.c @ 24363:979ff5d0ae07 legacy-trunk

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.
author Mark Hammond <mhammond@skippinet.com.au>
date Tue, 23 Jul 2002 06:31:15 +0000
parents 1598a1e473e2
children de71e6fe64b0
line wrap: on
line diff
--- a/Modules/parsermodule.c	Tue Jul 23 06:08:10 2002 +0000
+++ b/Modules/parsermodule.c	Tue Jul 23 06:31:15 2002 +0000
@@ -2852,9 +2852,9 @@
     };
 
 
-DL_EXPORT(void) initparser(void);  /* supply a prototype */
-
-DL_EXPORT(void)
+PyMODINIT_FUNC initparser(void);  /* supply a prototype */
+
+PyMODINIT_FUNC
 initparser(void)
 {
     PyObject *module, *copyreg;