Mercurial > vim
diff src/vim.h @ 15621:bfbdef46aa7d v8.1.0818
patch 8.1.0818: MS-Windows: cannot send large data with ch_sendraw()
commit https://github.com/vim/vim/commit/240583869ae477202494dd01ef1e8e2bac650f10
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 24 23:11:49 2019 +0100
patch 8.1.0818: MS-Windows: cannot send large data with ch_sendraw()
Problem: MS-Windows: cannot send large data with ch_sendraw().
Solution: Split write into several WriteFile() calls. (Yasuhiro Matsumoto,
closes #3823)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 24 Jan 2019 23:15:05 +0100 |
parents | b440c7becbca |
children | 6f1c7e9a6393 |
line wrap: on
line diff
--- a/src/vim.h +++ b/src/vim.h @@ -2467,6 +2467,10 @@ typedef enum { # define MAX_OPEN_CHANNELS 0 #endif +#if defined(WIN32) +# define MAX_NAMED_PIPE_SIZE 65535 +#endif + /* Options for json_encode() and json_decode. */ #define JSON_JS 1 /* use JS instead of JSON */ #define JSON_NO_NONE 2 /* v:none item not allowed */