summaryrefslogtreecommitdiffstats
path: root/Python/exceptions.c
diff options
context:
space:
mode:
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;