mirror of https://github.com/BOINC/boinc.git
lib: fix compile break.
This commit is contained in:
parent
1ae2a15873
commit
2ad03b38f1
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue