From ed1f7d1e2a5caae4d3d90c6a166ccc15f143f776 Mon Sep 17 00:00:00 2001 From: Yuuki Harano Date: Wed, 3 Apr 2019 22:14:28 +0900 Subject: [PATCH] Simplify compilaiton condtion * ../src/menu.c (single_menu_item): change condition. --- src/menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) -- 2.39.5