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:
Mark Hammond 2002-07-23 06:31:15 +00:00
parent 92825a9a52
commit 62b1ab1b31
22 changed files with 46 additions and 46 deletions

View file

@ -460,7 +460,7 @@ static PyMethodDef unicodedata_functions[] = {
PyDoc_STRVAR(unicodedata_docstring, "unicode character database");
DL_EXPORT(void)
PyMODINIT_FUNC
initunicodedata(void)
{
PyObject *m, *v;