From 2216443596c0ccbfeea4f03332a063d8203b4a4d Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Sat, 1 Dec 2007 00:10:04 +0000 Subject: [PATCH] compile fix for mingw git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21891 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/kill.cpp | 4 ++-- src/support/os_win32.cpp | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/support/kill.cpp b/src/support/kill.cpp index 4e6f173239..c29bbd7eff 100644 --- a/src/support/kill.cpp +++ b/src/support/kill.cpp @@ -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; } diff --git a/src/support/os_win32.cpp b/src/support/os_win32.cpp index 0b9cc7c024..8c44bed84f 100644 --- a/src/support/os_win32.cpp +++ b/src/support/os_win32.cpp @@ -62,7 +62,6 @@ # endif #endif -using std::endl; using std::string; -- 2.39.5