Resolve EWOULDBLOCK to string if different thatn EAGAIN

This commit is contained in:
Ryan Dahl 2010-04-28 12:58:00 -07:00
parent 3b75f5070d
commit 9b2aac61b2

View File

@ -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