mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 01:46:29 +00:00
Make neovim building even with libuv 1.18.0
(found for example on openSUSE/Leap 15.*)
This commit is contained in:
@@ -16,6 +16,11 @@
|
|||||||
# include "event/stream.c.generated.h"
|
# include "event/stream.c.generated.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// For compatbility with libuv < 1.19.0 (tested on 1.18.0)
|
||||||
|
#ifndef uv_stream_get_write_queue_size
|
||||||
|
#define uv_stream_get_write_queue_size(stream) stream->write_queue_size
|
||||||
|
#endif
|
||||||
|
|
||||||
/// Sets the stream associated with `fd` to "blocking" mode.
|
/// Sets the stream associated with `fd` to "blocking" mode.
|
||||||
///
|
///
|
||||||
/// @return `0` on success, or libuv error code on failure.
|
/// @return `0` on success, or libuv error code on failure.
|
||||||
|
@@ -62,6 +62,11 @@
|
|||||||
#define BUFSIZE 8192 /* size of normal write buffer */
|
#define BUFSIZE 8192 /* size of normal write buffer */
|
||||||
#define SMBUFSIZE 256 /* size of emergency write buffer */
|
#define SMBUFSIZE 256 /* size of emergency write buffer */
|
||||||
|
|
||||||
|
// For compatibility with libuv < 1.20.0 (tested on 1.18.0)
|
||||||
|
#ifndef UV_FS_COPYFILE_FICLONE
|
||||||
|
#define UV_FS_COPYFILE_FICLONE 0
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// The autocommands are stored in a list for each event.
|
// The autocommands are stored in a list for each event.
|
||||||
// Autocommands for the same pattern, that are consecutive, are joined
|
// Autocommands for the same pattern, that are consecutive, are joined
|
||||||
|
Reference in New Issue
Block a user