include: remove incorrect UV__ERR() for EPROTO
https://github.com/libuv/libuv/pull/2979 negated the value of UV__EPROTO on platforms that don't define EPROTO, but it didn't remove the surrounding UV__ERR() call. This was causing numerous test failures in Node.js. Refs: https://github.com/libuv/libuv/issues/3000 PR-URL: https://github.com/libuv/libuv/pull/3003 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
parent
ed5b42d5b7
commit
59d875994d
@ -317,7 +317,7 @@
|
||||
#if defined(EPROTO) && !defined(_WIN32)
|
||||
# define UV__EPROTO UV__ERR(EPROTO)
|
||||
#else
|
||||
# define UV__EPROTO UV__ERR(-4046)
|
||||
# define UV__EPROTO (-4046)
|
||||
#endif
|
||||
|
||||
#if defined(EPROTONOSUPPORT) && !defined(_WIN32)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user