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 */ #endif /* USE_STACKCHECK */
#if !TARGET_API_MAC_OSX #if !TARGET_API_MAC_OSX
void
PyErr_SetInterrupt(void)
{
interrupted = 1;
}
/* The catcher routine (which may not be used for all compilers) */ /* The catcher routine (which may not be used for all compilers) */
static RETSIGTYPE static RETSIGTYPE
intcatcher(sig) intcatcher(sig)