1
0
forked from aniani/vim

patch 7.4.1324

Problem:    Channels with pipes don't work on MS-Windows.
Solution:   Add pipe I/O support. (Yasuhiro Matsumoto)
This commit is contained in:
Bram Moolenaar
2016-02-15 21:56:54 +01:00
parent a971df849f
commit d807036d10
7 changed files with 161 additions and 66 deletions

View File

@@ -1306,8 +1306,9 @@ typedef enum
#define CHAN_SOCK 0
#define CH_SOCK ch_pfd[CHAN_SOCK].ch_fd
#ifdef UNIX
#if defined(UNIX) || defined(WIN32)
# define CHANNEL_PIPES
# define CHAN_FD_INVALID (-1)
# define CHAN_OUT 1
# define CHAN_ERR 2