summaryrefslogtreecommitdiffstats
path: root/Modules/errnomodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-12-04 18:50:17 (GMT)
committerGuido van Rossum <guido@python.org>1998-12-04 18:50:17 (GMT)
commit3886bb6997f8f7b0b64eed19045161e697f415fe (patch)
tree6730ba3a04a7579abebbbe8190cb167fcb3f7e62 /Modules/errnomodule.c
parent50f385c19783631dce79372930d9760ffc618772 (diff)
downloadcpython-3886bb6997f8f7b0b64eed19045161e697f415fe.zip
cpython-3886bb6997f8f7b0b64eed19045161e697f415fe.tar.gz
cpython-3886bb6997f8f7b0b64eed19045161e697f415fe.tar.bz2
Add DL_EXPORT() to all modules that could possibly be used
on BeOS or Windows.
Diffstat (limited to 'Modules/errnomodule.c')
-rw-r--r--Modules/errnomodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/errnomodule.c b/Modules/errnomodule.c
index 8120075..f18a655 100644
--- a/Modules/errnomodule.c
+++ b/Modules/errnomodule.c
@@ -94,7 +94,7 @@ Symbols that are not relevant to the underlying system are not defined.\n\
To map error codes to error messages, use the function os.strerror(),\n\
e.g. os.strerror(2) could return 'No such file or directory'.";
-void
+DL_EXPORT(void)
initerrno()
{
PyObject *m, *d, *de;