From 7d7846e9eef34577ddaba8d96f418a3a5f96d53b Mon Sep 17 00:00:00 2001 From: Anton Bachin Date: Wed, 21 Jul 2021 05:25:59 +0300 Subject: [PATCH] Add shim for uv_try_write2 --- src/c/shims.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/c/shims.h b/src/c/shims.h index b3320c8f..e6eeaab5 100644 --- a/src/c/shims.h +++ b/src/c/shims.h @@ -647,4 +647,11 @@ #if UV_VERSION_MAJOR == 1 && UV_VERSION_MINOR < 42 #define UV_EOVERFLOW 0x34242424 #define UV_ESOCKTNOSUPPORT 0x44242424 + + static int uv_try_write2( + uv_stream_t *stream, const uv_buf_t *bufs, unsigned int nbufs, + uv_stream_t *send_handle) + { + return ENOSYS; + } #endif