summaryrefslogtreecommitdiffstats
path: root/Modules/resource.c
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2001-09-17 16:19:16 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2001-09-17 16:19:16 (GMT)
commitfda3c3ddae776dc23e55327e481d3bd5bec0536a (patch)
tree73eeed502729e19332a177d050f071caca4c8674 /Modules/resource.c
parent83eeef4b067b7182778581c9fdfb104492647bd4 (diff)
downloadcpython-fda3c3ddae776dc23e55327e481d3bd5bec0536a.zip
cpython-fda3c3ddae776dc23e55327e481d3bd5bec0536a.tar.gz
cpython-fda3c3ddae776dc23e55327e481d3bd5bec0536a.tar.bz2
[Patch #462255, from Jason Tishler] Re-enables building the resouce
module on the Cygwin platform.
Diffstat (limited to 'Modules/resource.c')
-rw-r--r--Modules/resource.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/resource.c b/Modules/resource.c
index 9f2d9c0..43ed1de 100644
--- a/Modules/resource.c
+++ b/Modules/resource.c
@@ -169,7 +169,8 @@ ins(PyObject *dict, char *name, int value)
/* errors will be checked by initresource() */
}
-void initresource(void)
+DL_EXPORT(void)
+initresource(void)
{
PyObject *m, *d;