From: Jack Jansen Date: Wed, 23 Jul 2003 11:39:28 +0000 (+0000) Subject: MacPython-OS9 has its own copy of the interrupt handling code. Added PyErr_SetInterru... X-Git-Tag: v2.3c2~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=18452a4bf25b35d57a364351eb80def0c262fa6f;p=thirdparty%2FPython%2Fcpython.git MacPython-OS9 has its own copy of the interrupt handling code. Added PyErr_SetInterrupt() here too. --- diff --git a/Mac/Python/macglue.c b/Mac/Python/macglue.c index 51d73edb6450..371161020ea0 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)