Commit 67fd74d8 authored by Eli Zaretskii's avatar Eli Zaretskii

(main): Call syms_of_xmenu only if HAVE_MENUS is defined.

parent fbc4d3bd
......@@ -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 ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment