Mercurial > vim
comparison src/os_win32.c @ 15848:cea7a0fde805 v8.1.0931
patch 8.1.0931: vtp_working included in GUI build but unused
commit https://github.com/vim/vim/commit/6902c0eb27a3e4479445badfef31443f2227fe60
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 16 14:07:37 2019 +0100
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 https://github.com/vim/vim/issues/3971)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 16 Feb 2019 14:15:05 +0100 |
parents | 864ec0dd71b9 |
children | acd4fc05422b |
comparison
equal
deleted
inserted
replaced
15847:771cd837098c | 15848:cea7a0fde805 |
---|---|
184 | 184 |
185 static int win32_getattrs(char_u *name); | 185 static int win32_getattrs(char_u *name); |
186 static int win32_setattrs(char_u *name, int attrs); | 186 static int win32_setattrs(char_u *name, int attrs); |
187 static int win32_set_archive(char_u *name); | 187 static int win32_set_archive(char_u *name); |
188 | 188 |
189 static int vtp_working = 0; | |
190 static int conpty_working = 0; | 189 static int conpty_working = 0; |
191 static int conpty_stable = 0; | 190 static int conpty_stable = 0; |
192 static void vtp_flag_init(); | 191 static void vtp_flag_init(); |
193 | 192 |
194 #ifndef FEAT_GUI_W32 | 193 #ifndef FEAT_GUI_W32 |
194 static int vtp_working = 0; | |
195 static void vtp_init(); | 195 static void vtp_init(); |
196 static void vtp_exit(); | 196 static void vtp_exit(); |
197 static int vtp_printf(char *format, ...); | 197 static int vtp_printf(char *format, ...); |
198 static void vtp_sgr_bulk(int arg); | 198 static void vtp_sgr_bulk(int arg); |
199 static void vtp_sgr_bulks(int argc, int *argv); | 199 static void vtp_sgr_bulks(int argc, int *argv); |
7872 is_term_win32(void) | 7872 is_term_win32(void) |
7873 { | 7873 { |
7874 return T_NAME != NULL && STRCMP(T_NAME, "win32") == 0; | 7874 return T_NAME != NULL && STRCMP(T_NAME, "win32") == 0; |
7875 } | 7875 } |
7876 | 7876 |
7877 #endif | |
7878 | |
7879 int | 7877 int |
7880 has_vtp_working(void) | 7878 has_vtp_working(void) |
7881 { | 7879 { |
7882 return vtp_working; | 7880 return vtp_working; |
7883 } | 7881 } |
7884 | 7882 |
7883 #endif | |
7884 | |
7885 int | 7885 int |
7886 has_conpty_working(void) | 7886 has_conpty_working(void) |
7887 { | 7887 { |
7888 return conpty_working; | 7888 return conpty_working; |
7889 } | 7889 } |