added EWOULDBLOCK into error code translation

This commit is contained in:
2014-07-25 18:25:41 +00:00
parent 043be1bcdc
commit c1888aba6a
2 changed files with 27 additions and 1 deletions

View File

@ -235,7 +235,7 @@ static qse_httpd_errnum_t skerr_to_errnum (int e)
return QSE_HTTPD_EPIPE;
case EAGAIN:
#if defined(EWEOULDBLOCK) && defined(EAGAIN) && EWOULDBLOCK != EAGAIN
#if defined(EWEOULDBLOCK) && defined(EAGAIN) && (EWOULDBLOCK != EAGAIN)
case EWOULDBLOCK:
#endif
return QSE_HTTPD_EAGAIN;