aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/if_cscope.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/if_cscope.c')
-rw-r--r--src/nvim/if_cscope.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/nvim/if_cscope.c b/src/nvim/if_cscope.c
index 64323896d6..cd206e2e0d 100644
--- a/src/nvim/if_cscope.c
+++ b/src/nvim/if_cscope.c
@@ -743,8 +743,16 @@ err_closing:
(void)close(to_cs[1]);
(void)close(from_cs[0]);
#else
- /* WIN32 */
- /* Create pipes to communicate with cscope */
+ // Create pipes to communicate with cscope
+ int fd;
+ SECURITY_ATTRIBUTES sa;
+ PROCESS_INFORMATION pi;
+ BOOL pipe_stdin = FALSE, pipe_stdout = FALSE; // NOLINT(readability/bool)
+ STARTUPINFO si;
+ HANDLE stdin_rd, stdout_rd;
+ HANDLE stdout_wr, stdin_wr;
+ BOOL created;
+
sa.nLength = sizeof(SECURITY_ATTRIBUTES);
sa.bInheritHandle = TRUE;
sa.lpSecurityDescriptor = NULL;