summaryrefslogtreecommitdiff
path: root/src/os_mswin.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-03-11 22:52:15 +0100
committerBram Moolenaar <Bram@vim.org>2016-03-11 22:52:15 +0100
commit509ce2a558e7e0c03242e32e844255af52f1c821 (patch)
treea79ac8c1e42f2f9eefa81016328194a346dade06 /src/os_mswin.c
parentde27989157f35172b25f9e01e0c147ed8f6ae3ce (diff)
downloadvim-git-509ce2a558e7e0c03242e32e844255af52f1c821.tar.gz
patch 7.4.1537v7.4.1537
Problem: Too many feature flags for pipes, jobs and channels. Solution: Only use FEAT_JOB_CHANNEL.
Diffstat (limited to 'src/os_mswin.c')
-rw-r--r--src/os_mswin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/os_mswin.c b/src/os_mswin.c
index 46b3780c4..2a80381a0 100644
--- a/src/os_mswin.c
+++ b/src/os_mswin.c
@@ -144,7 +144,7 @@ extern HWND s_hwnd;
static HWND s_hwnd = 0; /* console window handle, set by GetConsoleHwnd() */
#endif
-#ifdef FEAT_CHANNEL
+#ifdef FEAT_JOB_CHANNEL
int WSInitialized = FALSE; /* WinSock is initialized */
#endif
@@ -216,7 +216,7 @@ mch_exit(int r)
# ifdef FEAT_OLE
UninitOLE();
# endif
-# ifdef FEAT_CHANNEL
+# ifdef FEAT_JOB_CHANNEL
if (WSInitialized)
{
WSInitialized = FALSE;
@@ -3018,7 +3018,7 @@ theend:
#endif /* defined(FEAT_GUI) || defined(FEAT_PRINTER) */
-#if defined(FEAT_CHANNEL) || defined(PROTO)
+#if defined(FEAT_JOB_CHANNEL) || defined(PROTO)
/*
* Initialize the Winsock dll.
*/