1
0
forked from aniani/vim

patch 8.1.2361: MS-Windows: test failures related to VIMDLL

Problem:    MS-Windows: test failures related to VIMDLL.
Solution:   Adjust code and tests. (Ken Takata, closes #5283)
This commit is contained in:
Bram Moolenaar
2019-11-29 23:15:25 +01:00
parent 15a7bdcb77
commit 310c32e892
8 changed files with 54 additions and 9 deletions

View File

@@ -3355,7 +3355,7 @@ f_has(typval_T *argvars, typval_T *rettv)
#ifdef FEAT_SEARCHPATH
"file_in_path",
#endif
#ifdef FEAT_FILTERPIPE
#if defined(FEAT_FILTERPIPE) && !defined(VIMDLL)
"filterpipe",
#endif
#ifdef FEAT_FIND_ID
@@ -3818,6 +3818,10 @@ f_has(typval_T *argvars, typval_T *rettv)
#ifdef FEAT_CLIPBOARD
else if (STRICMP(name, "clipboard_working") == 0)
n = clip_star.available;
#endif
#ifdef VIMDLL
else if (STRICMP(name, "filterpipe") == 0)
n = gui.in_use || gui.starting;
#endif
}