changeset 104397:f6163beaa505

nsfns.m (EmacsDialogPanel-runDialogAt): Add declaration of timer_check() to avoid crash on Leopard/PPC. Bug #2154.
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Fri, 21 Aug 2009 19:29:31 +0000
parents e667f4aad5f2
children 73dca9808fbe
files src/nsmenu.m
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/nsmenu.m	Fri Aug 21 15:09:42 2009 +0000
+++ b/src/nsmenu.m	Fri Aug 21 19:29:31 2009 +0000
@@ -1887,6 +1887,7 @@
 - (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];