forked from aniani/vim
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)
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user