summaryrefslogtreecommitdiff
path: root/src/nsmenu.m
diff options
context:
space:
mode:
authorAdrian Robert <Adrian.B.Robert@gmail.com>2009-08-21 19:29:31 +0000
committerAdrian Robert <Adrian.B.Robert@gmail.com>2009-08-21 19:29:31 +0000
commit641d87f548c177edbaeecc717eda42323b0e2c7f (patch)
tree839aed8666f8ac0f337e255c2f44c95807c21abf /src/nsmenu.m
parentcb5b40ee3b9073f3038a8fddad1824bdd83490e9 (diff)
downloademacs-641d87f548c177edbaeecc717eda42323b0e2c7f.tar.gz
nsfns.m (EmacsDialogPanel-runDialogAt): Add declaration of
timer_check() to avoid crash on Leopard/PPC. Bug #2154.
Diffstat (limited to 'src/nsmenu.m')
-rw-r--r--src/nsmenu.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nsmenu.m b/src/nsmenu.m
index aab3016e5e8..05184660bac 100644
--- a/src/nsmenu.m
+++ b/src/nsmenu.m
@@ -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];