summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-05-20 15:57:49 +0000
committerGuido van Rossum <guido@python.org>1997-05-20 15:57:49 +0000
commitd2ec3a064092da9a17b760276f3fd52e6ffd8f17 (patch)
treec2eb2ea583de13250f855308fc3884b0e529e3c7 /Python
parent11ceea4cf2a0e1ac3f7e30b8ecf9566d18b9132d (diff)
downloadcpython-d2ec3a064092da9a17b760276f3fd52e6ffd8f17.tar.gz
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 032b14da96..ead65b91fb 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