From 5687ffe0c56a827b538589fc46e79dfacfd857f3 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Wed, 28 Feb 2001 16:44:18 +0000 Subject: SF patch 404928: Support for next Cygwin gcc (2.95.2-8) --- Python/exceptions.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'Python/exceptions.c') diff --git a/Python/exceptions.c b/Python/exceptions.c index c020defcb5..0c61c5df95 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; -- cgit v1.2.1