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:
Enrico Forestieri 2007-12-01 00:10:04 +00:00
parent 63d19999eb
commit 2216443596
2 changed files with 2 additions and 3 deletions

View File

@ -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;
}

View File

@ -62,7 +62,6 @@
# endif
#endif
using std::endl;
using std::string;