lib: fix compile break.

This commit is contained in:
Charlie Fenton 2014-07-28 03:09:40 -07:00
parent 1ae2a15873
commit 2ad03b38f1
1 changed files with 2 additions and 2 deletions

View File

@ -482,10 +482,10 @@ void kill_program(HANDLE pid) {
TerminateProcess(pid, 0); TerminateProcess(pid, 0);
} }
#else #else
void int kill_program(int pid, int exit_code) { int kill_program(int pid, int exit_code) {
int retval; int retval;
retval = kill(pid, SIGKILL); retval = kill(pid, SIGKILL);
if (-1 = retval) { if (-1 == retval) {
retval = errno; retval = errno;
} }
return retval; return retval;