changed how to compare a map against data of other types.
fixed some problems in handling nonblocking connect and send with watt-32
This commit is contained in:
@ -237,8 +237,19 @@ static qse_mux_errnum_t skerr_to_errnum (int e)
|
||||
case EPIPE:
|
||||
return QSE_MUX_EPIPE;
|
||||
|
||||
#if defined(EAGAIN) || defined(EWOULDBLOCK)
|
||||
#if defined(EAGAIN) && defined(EWOULDBLOCK)
|
||||
case EAGAIN:
|
||||
#if (EWOULDBLOCK != EAGAIN)
|
||||
case EWOULDBLOCK:
|
||||
#endif
|
||||
#elif defined(EAGAIN)
|
||||
case EAGAIN:
|
||||
#else
|
||||
case EWOULDBLOCK;
|
||||
#endif
|
||||
return QSE_MUX_EAGAIN;
|
||||
#endif
|
||||
|
||||
default:
|
||||
return QSE_MUX_ESYSERR;
|
||||
|
||||
Reference in New Issue
Block a user