Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit df0d00e

Browse files
committed
Logic for enabling mac-specific signal handling fixed (Jack)
1 parent 1254d79 commit df0d00e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/ceval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ eval_code2(co, globals, locals,
569569
goto on_error;
570570
}
571571
}
572-
#if !defined(HAVE_SIGNAL_H) && !defined(macintosh)
572+
#if !defined(HAVE_SIGNAL_H) || defined(macintosh)
573573
/* If we have true signals, the signal handler
574574
will call Py_AddPendingCall() so we don't
575575
have to call sigcheck(). On the Mac and

0 commit comments

Comments
 (0)