# HG changeset patch # User Eli Zaretskii # Date 1079182541 0 # Node ID 3ac0da0026e6885c25abf1fe605728bb976566a4 # Parent 69f5624c956adfe2903fdd24157880080410fc3b (main): Call syms_of_xmenu only if HAVE_MENUS is defined. diff -r 69f5624c956a -r 3ac0da0026e6 src/emacs.c --- 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 ();