diff options
author | Eli Zaretskii <[email protected]> | 2004-03-13 12:55:41 +0000 |
---|---|---|
committer | Eli Zaretskii <[email protected]> | 2004-03-13 12:55:41 +0000 |
commit | 67fd74d84fb139633ecaf98e8cfddde60490dc6c (patch) | |
tree | 7e1092d34744835b5cb4ca611473a4ddf72315f3 /src/emacs.c | |
parent | fbc4d3bdcff2ebb41db30d7d4f6d9c6f93ee08a4 (diff) |
(main): Call syms_of_xmenu only if HAVE_MENUS is defined.
Diffstat (limited to 'src/emacs.c')
-rw-r--r-- | src/emacs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c index abd0489caa..43f300eca9 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 (); |