Macro cleanup: FEAT_GUI_MOTIF

This commit is contained in:
Hettomei 2015-05-08 13:06:53 +02:00 committed by Justin M. Keyes
parent 031758ad5c
commit 6d937315b6
2 changed files with 2 additions and 4 deletions

View File

@ -9936,8 +9936,7 @@ static void f_has(typval_T *argvars, typval_T *rettv)
#endif
"arabic",
"autocmd",
#if defined(FEAT_BROWSE) && (defined(USE_FILE_CHOOSER) \
|| defined(FEAT_GUI_MOTIF))
#if defined(FEAT_BROWSE) && defined(USE_FILE_CHOOSER)
"browsefilter",
#endif
"byte_offset",

View File

@ -2105,8 +2105,7 @@ do_mouse (
* NOTE: Ignore right button down and drag mouse events.
* Windows only shows the popup menu on the button up event.
*/
#if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_GTK) \
|| defined(FEAT_GUI_MAC)
#if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_MAC)
if (!is_click)
return false;
#endif