summaryrefslogtreecommitdiffstats
path: root/Mac/Python/macglue.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Python/macglue.c')
-rw-r--r--Mac/Python/macglue.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Mac/Python/macglue.c b/Mac/Python/macglue.c
index 51d73ed..3711610 100644
--- a/Mac/Python/macglue.c
+++ b/Mac/Python/macglue.c
@@ -283,6 +283,12 @@ PyOS_CheckStack()
#endif /* USE_STACKCHECK */
#if !TARGET_API_MAC_OSX
+void
+PyErr_SetInterrupt(void)
+{
+ interrupted = 1;
+}
+
/* The catcher routine (which may not be used for all compilers) */
static RETSIGTYPE
intcatcher(sig)