mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
compile fix for mingw
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21891 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
63d19999eb
commit
2216443596
@ -34,11 +34,11 @@ int support::kill(int pid, int sig)
|
||||
return -raise(sig);
|
||||
HANDLE hProcess = OpenProcess(PROCESS_ALL_ACCESS, TRUE, pid);
|
||||
if (!hProcess) {
|
||||
lyxerr << "kill OpenProcess failed!" << std::endl;
|
||||
LYXERR0("kill OpenProcess failed!");
|
||||
return -1;
|
||||
}
|
||||
if (!TerminateProcess(hProcess, sig)) {
|
||||
lyxerr << "kill process failed!" << std::endl;
|
||||
LYXERR0("kill process failed!");
|
||||
CloseHandle(hProcess);
|
||||
return -1;
|
||||
}
|
||||
|
@ -62,7 +62,6 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
using std::endl;
|
||||
using std::string;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user