Skip to content

Commit ea71ce1

Browse files
glaubitzklemens-morgenstern
authored andcommitted
Add check for duplicate definition of SIGLOST
Closes #545
1 parent 696b785 commit ea71ce1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/error.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ struct exit_code_category final : public error_category
112112
# if defined(SIGKILL)
113113
case SIGKILL: return "SIGKILL: Kill signal";
114114
# endif
115-
# if defined(SIGLOST)
115+
# if defined(SIGLOST) && SIGLOST != SIGPWR
116116
case SIGLOST: return "SIGLOST: File lock lost (unused)";
117117
# endif
118118
# if defined(SIGPIPE)

0 commit comments

Comments
 (0)