summaryrefslogtreecommitdiff
path: root/src/os_win32.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-02-16 14:07:37 +0100
committerBram Moolenaar <Bram@vim.org>2019-02-16 14:07:37 +0100
commit6902c0eb27a3e4479445badfef31443f2227fe60 (patch)
tree6ceaf45f1c7f4eeaf75389dfa8f474c47d361a80 /src/os_win32.c
parent0a1b17bbec8f71beaab1d58b4c054ab4320f3bb2 (diff)
downloadvim-git-6902c0eb27a3e4479445badfef31443f2227fe60.tar.gz
patch 8.1.0931: vtp_working included in GUI build but unusedv8.1.0931
Problem: vtp_working included in GUI build but unused. Solution: Adjust #ifdefs. (Ken Takata, closes #3971)
Diffstat (limited to 'src/os_win32.c')
-rw-r--r--src/os_win32.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/os_win32.c b/src/os_win32.c
index 0680346af..816c3a59c 100644
--- a/src/os_win32.c
+++ b/src/os_win32.c
@@ -186,12 +186,12 @@ static int win32_getattrs(char_u *name);
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, ...);
@@ -7874,14 +7874,14 @@ is_term_win32(void)
return T_NAME != NULL && STRCMP(T_NAME, "win32") == 0;
}
-#endif
-
int
has_vtp_working(void)
{
return vtp_working;
}
+#endif
+
int
has_conpty_working(void)
{