Skip to content

Commit

Permalink
Build fix for systems where strsignal() returns a const char *
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnarbeutner committed Nov 24, 2015
1 parent f2be32e commit d96ee6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/base/process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ bool Process::DoEvents(void)
<< "PID " << m_PID << " (" << PrettyPrintArguments(m_Arguments) << ") terminated with exit code " << exitcode;
} else if (WIFSIGNALED(status)) {
int signum = WTERMSIG(status);
char *zsigname = strsignal(signum);
const char *zsigname = strsignal(signum);

String signame = Convert::ToString(signum);

Expand Down

0 comments on commit d96ee6b

Please sign in to comment.