summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-02-28 16:44:18 +0000
committerTim Peters <tim.peters@gmail.com>2001-02-28 16:44:18 +0000
commit2d16b7d23b9688ff43962ec0a92e17f680e13b74 (patch)
tree2396686d006e7cf7410afc27754ef50458df053b /Python
parent588eacc4f4249d62eb24ebf4d306e6c96716f095 (diff)
downloadcpython-2d16b7d23b9688ff43962ec0a92e17f680e13b74.tar.gz
SF patch 404928: Support for next Cygwin gcc (2.95.2-8)
Diffstat (limited to 'Python')
-rw-r--r--Python/exceptions.c10
1 files changed, 2 insertions, 8 deletions
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;