diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-02-15 21:56:54 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-02-15 21:56:54 +0100 |
commit | d807036d10615b960c814ef3890ecad335b57f56 (patch) | |
tree | f0c67f0c29bf707ec8a0f3bddcd346139b165674 /src/structs.h | |
parent | a971df849f92e32e18ce475fdb47ad9ea2aa47f3 (diff) |
patch 7.4.1324v7.4.1324
Problem: Channels with pipes don't work on MS-Windows.
Solution: Add pipe I/O support. (Yasuhiro Matsumoto)
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/structs.h b/src/structs.h index 7f2f111bcd..7238767235 100644 --- a/src/structs.h +++ b/src/structs.h @@ -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 |