Resolve EWOULDBLOCK to string if different thatn EAGAIN
This commit is contained in:
parent
3b75f5070d
commit
9b2aac61b2
@ -301,8 +301,10 @@ static inline const char *errno_string(int errorno) {
|
|||||||
|
|
||||||
#ifdef EAGAIN
|
#ifdef EAGAIN
|
||||||
ERRNO_CASE(EAGAIN);
|
ERRNO_CASE(EAGAIN);
|
||||||
#else
|
#endif
|
||||||
|
|
||||||
#ifdef EWOULDBLOCK
|
#ifdef EWOULDBLOCK
|
||||||
|
# if EAGAIN != EWOULDBLOCK
|
||||||
ERRNO_CASE(EWOULDBLOCK);
|
ERRNO_CASE(EWOULDBLOCK);
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user