changeset 54383:3ac0da0026e6

(main): Call syms_of_xmenu only if HAVE_MENUS is defined.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 13 Mar 2004 12:55:41 +0000
parents 69f5624c956a
children d113031a7e95
files src/emacs.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Fri Mar 12 15:03:10 2004 +0000
+++ b/src/emacs.c	Sat Mar 13 12:55:41 2004 +0000
@@ -1525,12 +1525,14 @@
 #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 ();