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
|
||||
ERRNO_CASE(EAGAIN);
|
||||
#else
|
||||
# ifdef EWOULDBLOCK
|
||||
#endif
|
||||
|
||||
#ifdef EWOULDBLOCK
|
||||
# if EAGAIN != EWOULDBLOCK
|
||||
ERRNO_CASE(EWOULDBLOCK);
|
||||
# endif
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user