]> granicus.if.org Git - python/commitdiff
Logic for enabling mac-specific signal handling fixed (Jack)
authorGuido van Rossum <guido@python.org>
Tue, 20 May 1997 15:57:49 +0000 (15:57 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 20 May 1997 15:57:49 +0000 (15:57 +0000)
Python/ceval.c

index 032b14da96580fb1702597f84259ef840d328b6a..ead65b91fb5bd37519c097923114ee1f95bd9e93 100644 (file)
@@ -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