summaryrefslogtreecommitdiff
path: root/Modules/newmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-12-04 18:50:17 +0000
committerGuido van Rossum <guido@python.org>1998-12-04 18:50:17 +0000
commit3886bb6997f8f7b0b64eed19045161e697f415fe (patch)
tree6730ba3a04a7579abebbbe8190cb167fcb3f7e62 /Modules/newmodule.c
parent50f385c19783631dce79372930d9760ffc618772 (diff)
downloadcpython-git-3886bb6997f8f7b0b64eed19045161e697f415fe.tar.gz
Add DL_EXPORT() to all modules that could possibly be used
on BeOS or Windows.
Diffstat (limited to 'Modules/newmodule.c')
-rw-r--r--Modules/newmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/newmodule.c b/Modules/newmodule.c
index 5c92e0eda4..786ddc5f59 100644
--- a/Modules/newmodule.c
+++ b/Modules/newmodule.c
@@ -226,7 +226,7 @@ char new_doc[] =
\n\
You need to know a great deal about the interpreter to use this!";
-void
+DL_EXPORT(void)
initnew()
{
Py_InitModule4("new", new_methods, new_doc, (PyObject *)NULL,