Merge pull request #14408 from sepalani/tri-eagain

AMMediaboard: Check for EAGAIN in WSAGetLastError
This commit is contained in:
JMC47 2026-03-12 21:51:10 -04:00 committed by GitHub
commit 2336753a24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -57,6 +57,9 @@ static int WSAGetLastError()
{ {
switch (errno) switch (errno)
{ {
#if EAGAIN != EWOULDBLOCK
case EAGAIN:
#endif
case EINPROGRESS: case EINPROGRESS:
case EWOULDBLOCK: case EWOULDBLOCK:
return WSAEWOULDBLOCK; return WSAEWOULDBLOCK;