diff --git a/Parser/intrcheck.c b/Parser/intrcheck.c index 34a3425d48e..e9927e9cffb 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;