summaryrefslogtreecommitdiffstats
path: root/Doc/ext/noddy.c
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/ext/noddy.c')
-rw-r--r--Doc/ext/noddy.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/ext/noddy.c b/Doc/ext/noddy.c
index 1988de69..849b3c9 100644
--- a/Doc/ext/noddy.c
+++ b/Doc/ext/noddy.c
@@ -51,6 +51,9 @@ static PyMethodDef noddy_methods[] = {
{NULL} /* Sentinel */
};
+#ifndef PyMODINIT_FUNC /* declarations for DLL import/export */
+#define PyMODINIT_FUNC void
+#endif
PyMODINIT_FUNC
initnoddy(void)
{