From 67fd74d84fb139633ecaf98e8cfddde60490dc6c Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 13 Mar 2004 12:55:41 +0000 Subject: [PATCH] (main): Call syms_of_xmenu only if HAVE_MENUS is defined. --- src/emacs.c | 2 ++ 1 file changed, 2 insertions(+) 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 (); -- 2.39.2