mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-17 07:49:21 +00:00
Linux uses EAGAIN instead of EWOULDBLOCK (only used on Windows)
This commit is contained in:
parent
ef4ac51170
commit
2c9109936c
1 changed files with 1 additions and 1 deletions
|
@ -544,7 +544,7 @@ static int getNetErrorCode(int ret, std::string caller, bool isRW)
|
||||||
return -30; // EISCONN
|
return -30; // EISCONN
|
||||||
case ERRORCODE(ENOTCONN):
|
case ERRORCODE(ENOTCONN):
|
||||||
return -6; // EAGAIN
|
return -6; // EAGAIN
|
||||||
case ERRORCODE(EWOULDBLOCK):
|
case EITHER(WSAEWOULDBLOCK, EAGAIN):
|
||||||
case ERRORCODE(EINPROGRESS):
|
case ERRORCODE(EINPROGRESS):
|
||||||
if(isRW){
|
if(isRW){
|
||||||
return -6; // EAGAIN
|
return -6; // EAGAIN
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue