summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
Diffstat (limited to 'Parser')
-rw-r--r--Parser/intrcheck.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Parser/intrcheck.c b/Parser/intrcheck.c
index e9927e9..2f151ee 100644
--- a/Parser/intrcheck.c
+++ b/Parser/intrcheck.c
@@ -168,9 +168,7 @@ intcatcher(int sig)
}
signal(SIGINT, intcatcher);
Py_AddPendingCall(checksignals_witharg, NULL);
-#if RETSIGTYPE != void
- return 0;
-#endif
+ Py_RETURN_FROM_SIGNAL_HANDLER(0);
}
static RETSIGTYPE (*old_siginthandler)(int) = SIG_DFL;