aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2004-03-13 12:55:41 +0000
committerEli Zaretskii2004-03-13 12:55:41 +0000
commit67fd74d84fb139633ecaf98e8cfddde60490dc6c (patch)
tree7e1092d34744835b5cb4ca611473a4ddf72315f3
parentfbc4d3bdcff2ebb41db30d7d4f6d9c6f93ee08a4 (diff)
downloademacs-67fd74d84fb139633ecaf98e8cfddde60490dc6c.tar.gz
emacs-67fd74d84fb139633ecaf98e8cfddde60490dc6c.zip
(main): Call syms_of_xmenu only if HAVE_MENUS is defined.
-rw-r--r--src/emacs.c2
1 files changed, 2 insertions, 0 deletions
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
1525#endif 1525#endif
1526#endif /* HAVE_X_WINDOWS */ 1526#endif /* HAVE_X_WINDOWS */
1527 1527
1528#ifdef HAVE_MENUS
1528#ifndef HAVE_NTGUI 1529#ifndef HAVE_NTGUI
1529#ifndef MAC_OS 1530#ifndef MAC_OS
1530 /* Called before init_window_once for Mac OS Classic. */ 1531 /* Called before init_window_once for Mac OS Classic. */
1531 syms_of_xmenu (); 1532 syms_of_xmenu ();
1532#endif 1533#endif
1533#endif 1534#endif
1535#endif
1534 1536
1535#ifdef HAVE_NTGUI 1537#ifdef HAVE_NTGUI
1536 syms_of_w32term (); 1538 syms_of_w32term ();