Problem: vtp_working included in GUI build but unused.
Solution: Adjust #ifdefs. (Ken Takata, closes #3971)
static int win32_setattrs(char_u *name, int attrs);
static int win32_set_archive(char_u *name);
-static int vtp_working = 0;
static int conpty_working = 0;
static int conpty_stable = 0;
static void vtp_flag_init();
#ifndef FEAT_GUI_W32
+static int vtp_working = 0;
static void vtp_init();
static void vtp_exit();
static int vtp_printf(char *format, ...);
return T_NAME != NULL && STRCMP(T_NAME, "win32") == 0;
}
-#endif
-
int
has_vtp_working(void)
{
return vtp_working;
}
+#endif
+
int
has_conpty_working(void)
{
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 931,
/**/
930,
/**/