From: Eli Zaretskii Date: Sat, 13 Mar 2004 12:55:41 +0000 (+0000) Subject: (main): Call syms_of_xmenu only if HAVE_MENUS is defined. X-Git-Tag: ttn-vms-21-2-B4~7257 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=67fd74d84fb139633ecaf98e8cfddde60490dc6c;p=emacs.git (main): Call syms_of_xmenu only if HAVE_MENUS is defined. --- diff --git a/src/emacs.c b/src/emacs.c index abd0489caad..43f300eca9f 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -1525,12 +1525,14 @@ main (argc, argv #endif #endif /* HAVE_X_WINDOWS */ +#ifdef HAVE_MENUS #ifndef HAVE_NTGUI #ifndef MAC_OS /* Called before init_window_once for Mac OS Classic. */ syms_of_xmenu (); #endif #endif +#endif #ifdef HAVE_NTGUI syms_of_w32term ();