Browse Source

Resolve EWOULDBLOCK to string if different thatn EAGAIN

v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
9b2aac61b2
  1. 4
      src/node.cc

4
src/node.cc

@ -301,8 +301,10 @@ static inline const char *errno_string(int errorno) {
#ifdef EAGAIN
ERRNO_CASE(EAGAIN);
#else
#endif
#ifdef EWOULDBLOCK
# if EAGAIN != EWOULDBLOCK
ERRNO_CASE(EWOULDBLOCK);
# endif
#endif

Loading…
Cancel
Save