diff --git a/Python/ceval.c b/Python/ceval.c index 032b14da9658..ead65b91fb5b 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -569,7 +569,7 @@ eval_code2(co, globals, locals, goto on_error; } } -#if !defined(HAVE_SIGNAL_H) && !defined(macintosh) +#if !defined(HAVE_SIGNAL_H) || defined(macintosh) /* If we have true signals, the signal handler will call Py_AddPendingCall() so we don't have to call sigcheck(). On the Mac and