include: re-map UV__EPROTO from 4046 to -4046
Refs: https://github.com/libuv/libuv/pull/1687 Fixes: https://github.com/libuv/libuv/issues/2977 PR-URL: https://github.com/libuv/libuv/pull/2979 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
This commit is contained in:
parent
ea17e1cffb
commit
a8bb3b3b2c
@ -317,7 +317,7 @@
|
|||||||
#if defined(EPROTO) && !defined(_WIN32)
|
#if defined(EPROTO) && !defined(_WIN32)
|
||||||
# define UV__EPROTO UV__ERR(EPROTO)
|
# define UV__EPROTO UV__ERR(EPROTO)
|
||||||
#else
|
#else
|
||||||
# define UV__EPROTO UV__ERR(4046)
|
# define UV__EPROTO UV__ERR(-4046)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(EPROTONOSUPPORT) && !defined(_WIN32)
|
#if defined(EPROTONOSUPPORT) && !defined(_WIN32)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user