- Moved interrupt code to macglue.c
- Added possibility to turn off mainloop event handling
- Check interrupts even when not handling events
- Be more carefulabout which events we want
- Use different method to determine fg/bg
diff --git a/Mac/Include/macglue.h b/Mac/Include/macglue.h
index 411e1cb..b61a78e 100644
--- a/Mac/Include/macglue.h
+++ b/Mac/Include/macglue.h
@@ -28,6 +28,8 @@
 
 char *macstrerror(int);				/* strerror with mac errors */
 
+extern int PyMac_DoYieldEnabled;	/* Don't do eventloop when false */
+
 extern PyObject *PyMac_OSErrException;		/* Exception for OSErr */
 PyObject *PyMac_GetOSErrException(void);	/* Initialize & return it */