mirror of https://github.com/mgba-emu/mgba.git
Scripting: Add WSAEWOULDBLOCK to error translation table
This commit is contained in:
parent
ea345ca815
commit
1ca6f7e093
|
@ -36,6 +36,7 @@ static const struct _mScriptSocketErrorMapping {
|
|||
#ifndef USE_GETHOSTBYNAME
|
||||
#ifdef _WIN32
|
||||
{ WSATRY_AGAIN, mSCRIPT_SOCKERR_AGAIN },
|
||||
{ WSAEWOULDBLOCK, mSCRIPT_SOCKERR_AGAIN },
|
||||
{ WSANO_RECOVERY, mSCRIPT_SOCKERR_FAILED },
|
||||
{ WSANO_DATA, mSCRIPT_SOCKERR_NO_DATA },
|
||||
{ WSAHOST_NOT_FOUND, mSCRIPT_SOCKERR_NOT_FOUND },
|
||||
|
|
Loading…
Reference in New Issue