mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.1974: Vim9: test for has('gui_running') fails with VIMDLL
Problem: Vim9: test for has('gui_running') fails with VIMDLL. Solution: Adjust the #ifdef. (Ken Takata, closes #7276)
This commit is contained in:
@@ -5513,7 +5513,7 @@ dynamic_feature(char_u *feature)
|
|||||||
#ifdef VIMDLL
|
#ifdef VIMDLL
|
||||||
|| STRICMP(feature, "filterpipe") == 0
|
|| STRICMP(feature, "filterpipe") == 0
|
||||||
#endif
|
#endif
|
||||||
#if defined(FEAT_GUI) && !defined(ALWAYS_USE_GUI)
|
#if defined(FEAT_GUI) && !defined(ALWAYS_USE_GUI) && !defined(VIMDLL)
|
||||||
// this can only change on Unix where the ":gui" command could be
|
// this can only change on Unix where the ":gui" command could be
|
||||||
// used.
|
// used.
|
||||||
|| (STRICMP(feature, "gui_running") == 0 && !gui.in_use)
|
|| (STRICMP(feature, "gui_running") == 0 && !gui.in_use)
|
||||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1974,
|
||||||
/**/
|
/**/
|
||||||
1973,
|
1973,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user