mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
Fix signo_string for linux and solaris
This commit is contained in:
1 parent
7a72885ede
commit
3bb21b5191
1 file changed
+8
-8
+8
-8
@@ -469,14 +469,16 @@ static inline const char *errno_string(int errorno) {
|
||||
ERRNO_CASE(ENOEXEC);
|
||||
#endif
|
||||
|
||||
#ifdef ENOLCK
|
||||
ERRNO_CASE(ENOLCK);
|
||||
#endif
|
||||
|
||||
#ifdef ENOLINK
|
||||
ERRNO_CASE(ENOLINK);
|
||||
#endif
|
||||
|
||||
#ifdef ENOLCK
|
||||
# if ENOLINK != ENOLCK
|
||||
ERRNO_CASE(ENOLCK);
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef ENOMEM
|
||||
ERRNO_CASE(ENOMEM);
|
||||
#endif
|
||||
@@ -725,7 +727,9 @@ const char *signo_string(int signo) {
|
||||
#endif
|
||||
|
||||
#ifdef SIGPOLL
|
||||
# if SIGPOLL != SIGIO
|
||||
SIGNO_CASE(SIGPOLL);
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef SIGLOST
|
||||
@@ -740,10 +744,6 @@ const char *signo_string(int signo) {
|
||||
SIGNO_CASE(SIGSYS);
|
||||
#endif
|
||||
|
||||
#ifdef SIGUNUSED
|
||||
SIGNO_CASE(SIGUNUSED);
|
||||
#endif
|
||||
|
||||
default: return "";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user