mirror of https://github.com/python/cpython
Logic for enabling mac-specific signal handling fixed (Jack)
This commit is contained in:
parent
1254d79dfa
commit
df0d00e29b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue