diff options
Diffstat (limited to 'Parser/intrcheck.c')
-rw-r--r-- | Parser/intrcheck.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Parser/intrcheck.c b/Parser/intrcheck.c index 34a3425..e9927e9 100644 --- a/Parser/intrcheck.c +++ b/Parser/intrcheck.c @@ -168,6 +168,9 @@ intcatcher(int sig) } signal(SIGINT, intcatcher); Py_AddPendingCall(checksignals_witharg, NULL); +#if RETSIGTYPE != void + return 0; +#endif } static RETSIGTYPE (*old_siginthandler)(int) = SIG_DFL; |