diff options
author | Yuuki Harano <masm+github@masm11.me> | 2019-04-03 22:14:28 +0900 |
---|---|---|
committer | Jeff Walsh <fejfighter@gmail.com> | 2020-11-22 14:46:55 +1100 |
commit | ed1f7d1e2a5caae4d3d90c6a166ccc15f143f776 (patch) | |
tree | 285e3a8bbc4334ea764ac1c4751cd3de56cba508 /src/menu.c | |
parent | 53cb4316396586ffaa91191af4ae9c55687444f2 (diff) | |
download | emacs-ed1f7d1e2a5caae4d3d90c6a166ccc15f143f776.tar.gz emacs-ed1f7d1e2a5caae4d3d90c6a166ccc15f143f776.tar.bz2 emacs-ed1f7d1e2a5caae4d3d90c6a166ccc15f143f776.zip |
Simplify compilaiton condtion
* ../src/menu.c (single_menu_item):
change condition.
Diffstat (limited to 'src/menu.c')
-rw-r--r-- | src/menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/menu.c b/src/menu.c index e4fda572cd8..ebda2f242ff 100644 --- a/src/menu.c +++ b/src/menu.c @@ -422,7 +422,7 @@ single_menu_item (Lisp_Object key, Lisp_Object item, Lisp_Object dummy, void *sk AREF (item_properties, ITEM_PROPERTY_SELECTED), AREF (item_properties, ITEM_PROPERTY_HELP)); -#if defined (USE_X_TOOLKIT) || defined (USE_GTK) || defined (HAVE_NS) || defined (HAVE_NTGUI) +#ifdef HAVE_EXT_MENU_BAR /* Display a submenu using the toolkit. */ if (FRAME_WINDOW_P (XFRAME (Vmenu_updating_frame)) && ! (NILP (map) || NILP (enabled))) |