diff src/emacs.c @ 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 a517c0320eba
children d57cf5187262 fac24544c283
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 ();