Skip to content

Commit 7d7846e

Browse files
committed
Add shim for uv_try_write2
1 parent ee3b631 commit 7d7846e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/c/shims.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,4 +647,11 @@
647647
#if UV_VERSION_MAJOR == 1 && UV_VERSION_MINOR < 42
648648
#define UV_EOVERFLOW 0x34242424
649649
#define UV_ESOCKTNOSUPPORT 0x44242424
650+
651+
static int uv_try_write2(
652+
uv_stream_t *stream, const uv_buf_t *bufs, unsigned int nbufs,
653+
uv_stream_t *send_handle)
654+
{
655+
return ENOSYS;
656+
}
650657
#endif

0 commit comments

Comments
 (0)