summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-05-20 15:57:49 (GMT)
committerGuido van Rossum <guido@python.org>1997-05-20 15:57:49 (GMT)
commitdf0d00e29b45453f2929a5fe02aef4a5bf1998b1 (patch)
treeb077cce43cd802818650f4c87ba0926a38255346 /Python
parent1254d79dfaf5cb4e91dae8a14aa6046dca0a4ce5 (diff)
downloadcpython-df0d00e29b45453f2929a5fe02aef4a5bf1998b1.zip
cpython-df0d00e29b45453f2929a5fe02aef4a5bf1998b1.tar.gz
cpython-df0d00e29b45453f2929a5fe02aef4a5bf1998b1.tar.bz2
Logic for enabling mac-specific signal handling fixed (Jack)
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 032b14d..ead65b9 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