MacPython-OS9 has its own copy of the interrupt handling code. Added PyErr_SetInterrupt() here too.

This commit is contained in:
Jack Jansen 2003-07-23 11:39:28 +00:00
parent 1fb83c155f
commit 18452a4bf2

View File

@ -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)