Skip to content

Commit

Permalink
Add shim for uv_try_write2
Browse files Browse the repository at this point in the history
  • Loading branch information
aantron committed Jul 21, 2021
1 parent ee3b631 commit 7d7846e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/c/shims.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7d7846e

Please sign in to comment.