summaryrefslogtreecommitdiffstats
path: root/Python/exceptions.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-02-28 16:44:18 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-02-28 16:44:18 (GMT)
commit5687ffe0c56a827b538589fc46e79dfacfd857f3 (patch)
tree7ba35f863ceb5b55c492ee3c61e5fc4bdac2e1f0 /Python/exceptions.c
parentc6cecf55d182344c316999acb8703293439319b7 (diff)
downloadcpython-5687ffe0c56a827b538589fc46e79dfacfd857f3.zip
cpython-5687ffe0c56a827b538589fc46e79dfacfd857f3.tar.gz
cpython-5687ffe0c56a827b538589fc46e79dfacfd857f3.tar.bz2
SF patch 404928: Support for next Cygwin gcc (2.95.2-8)
Diffstat (limited to 'Python/exceptions.c')
-rw-r--r--Python/exceptions.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/Python/exceptions.c b/Python/exceptions.c
index c020def..0c61c5d 100644
--- a/Python/exceptions.c
+++ b/Python/exceptions.c
@@ -1042,10 +1042,7 @@ static struct {
-void
-#ifdef WIN32
-__declspec(dllexport)
-#endif /* WIN32 */
+DL_EXPORT(void)
init_exceptions(void)
{
char *modulename = "exceptions";
@@ -1128,10 +1125,7 @@ init_exceptions(void)
}
-void
-#ifdef WIN32
-__declspec(dllexport)
-#endif /* WIN32 */
+DL_EXPORT(void)
fini_exceptions(void)
{
int i;