nsfns.m (EmacsDialogPanel-runDialogAt): Add declaration of

timer_check() to avoid crash on Leopard/PPC.  Bug #2154.
This commit is contained in:
Adrian Robert
2009-08-21 19:29:31 +00:00
parent cb5b40ee3b
commit 641d87f548

View File

@@ -1887,6 +1887,7 @@ void process_dialog (id window, Lisp_Object list)
- (Lisp_Object)runDialogAt: (NSPoint)p
{
int ret;
extern EMACS_TIME timer_check (int do_it_now); /* TODO: add to a header */
/* initiate a session that will be ended by pop_down_menu */
popupSession = [NSApp beginModalSessionForWindow: self];