diff Python/exceptions.c @ 16837:0e6a3da4f956 legacy-trunk

SF patch 404928: Support for next Cygwin gcc (2.95.2-8)
author Tim Peters <tim.peters@gmail.com>
date Wed, 28 Feb 2001 16:44:18 +0000
parents 2208a03d05a3
children 847844248c6f
line wrap: on
line diff
--- a/Python/exceptions.c	Wed Feb 28 15:54:18 2001 +0000
+++ b/Python/exceptions.c	Wed Feb 28 16:44:18 2001 +0000
@@ -1042,10 +1042,7 @@
 
 
 
-void
-#ifdef WIN32
-__declspec(dllexport)
-#endif /* WIN32 */
+DL_EXPORT(void)
 init_exceptions(void)
 {
     char *modulename = "exceptions";
@@ -1128,10 +1125,7 @@
 }
 
 
-void
-#ifdef WIN32
-__declspec(dllexport)
-#endif /* WIN32 */
+DL_EXPORT(void)
 fini_exceptions(void)
 {
     int i;