summaryrefslogtreecommitdiff
path: root/Modules/_testcapimodule.c
diff options
context:
space:
mode:
authorMark Hammond <mhammond@skippinet.com.au>2002-07-23 06:31:15 +0000
committerMark Hammond <mhammond@skippinet.com.au>2002-07-23 06:31:15 +0000
commit62b1ab1b314653c09757c533883447eda437306f (patch)
tree0aaf9538469559756f9129c5da8b09abc4903c04 /Modules/_testcapimodule.c
parent92825a9a525c268b9797b8be28dbd959b64a821d (diff)
downloadcpython-git-62b1ab1b314653c09757c533883447eda437306f.tar.gz
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/_testcapimodule.c')
-rw-r--r--Modules/_testcapimodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c
index 9f8a09e30b..2054c805ac 100644
--- a/Modules/_testcapimodule.c
+++ b/Modules/_testcapimodule.c
@@ -376,7 +376,7 @@ static PyMethodDef TestMethods[] = {
{NULL, NULL} /* sentinel */
};
-DL_EXPORT(void)
+PyMODINIT_FUNC
init_testcapi(void)
{
PyObject *m;