commit | 62b1ab1b314653c09757c533883447eda437306f | [log] [tgz] |
---|---|---|
author | Mark Hammond <mhammond@skippinet.com.au> | Tue Jul 23 06:31:15 2002 +0000 |
committer | Mark Hammond <mhammond@skippinet.com.au> | Tue Jul 23 06:31:15 2002 +0000 |
tree | 0aaf9538469559756f9129c5da8b09abc4903c04 | |
parent | 92825a9a525c268b9797b8be28dbd959b64a821d [diff] [blame] |
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.
diff --git a/Modules/unicodedata.c b/Modules/unicodedata.c index 966c8ba..83d21e2 100644 --- a/Modules/unicodedata.c +++ b/Modules/unicodedata.c
@@ -460,7 +460,7 @@ PyDoc_STRVAR(unicodedata_docstring, "unicode character database"); -DL_EXPORT(void) +PyMODINIT_FUNC initunicodedata(void) { PyObject *m, *v;