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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user