mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.1.0931: vtp_working included in GUI build but unused
Problem: vtp_working included in GUI build but unused. Solution: Adjust #ifdefs. (Ken Takata, closes #3971)
This commit is contained in:
@@ -186,12 +186,12 @@ static int win32_getattrs(char_u *name);
|
|||||||
static int win32_setattrs(char_u *name, int attrs);
|
static int win32_setattrs(char_u *name, int attrs);
|
||||||
static int win32_set_archive(char_u *name);
|
static int win32_set_archive(char_u *name);
|
||||||
|
|
||||||
static int vtp_working = 0;
|
|
||||||
static int conpty_working = 0;
|
static int conpty_working = 0;
|
||||||
static int conpty_stable = 0;
|
static int conpty_stable = 0;
|
||||||
static void vtp_flag_init();
|
static void vtp_flag_init();
|
||||||
|
|
||||||
#ifndef FEAT_GUI_W32
|
#ifndef FEAT_GUI_W32
|
||||||
|
static int vtp_working = 0;
|
||||||
static void vtp_init();
|
static void vtp_init();
|
||||||
static void vtp_exit();
|
static void vtp_exit();
|
||||||
static int vtp_printf(char *format, ...);
|
static int vtp_printf(char *format, ...);
|
||||||
@@ -7874,14 +7874,14 @@ is_term_win32(void)
|
|||||||
return T_NAME != NULL && STRCMP(T_NAME, "win32") == 0;
|
return T_NAME != NULL && STRCMP(T_NAME, "win32") == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int
|
int
|
||||||
has_vtp_working(void)
|
has_vtp_working(void)
|
||||||
{
|
{
|
||||||
return vtp_working;
|
return vtp_working;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
int
|
int
|
||||||
has_conpty_working(void)
|
has_conpty_working(void)
|
||||||
{
|
{
|
||||||
|
@@ -783,6 +783,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 */
|
||||||
|
/**/
|
||||||
|
931,
|
||||||
/**/
|
/**/
|
||||||
930,
|
930,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user