windows: map WSAETIMEDOUT to UV_ETIMEDOUT
This commit is contained in:
parent
f9be43a564
commit
c1cea705ba
@ -107,6 +107,7 @@ uv_err_code uv_translate_sys_error(int sys_errno) {
|
||||
case ERROR_BROKEN_PIPE: return UV_EOF;
|
||||
case ERROR_PIPE_BUSY: return UV_EBUSY;
|
||||
case ERROR_SEM_TIMEOUT: return UV_ETIMEDOUT;
|
||||
case WSAETIMEDOUT: return UV_ETIMEDOUT;
|
||||
case ERROR_ALREADY_EXISTS: return UV_EEXIST;
|
||||
case WSAHOST_NOT_FOUND: return UV_ENOENT;
|
||||
default: return UV_UNKNOWN;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user