]> git.lyx.org Git - features.git/commitdiff
compile fix for mingw
authorEnrico Forestieri <forenr@lyx.org>
Sat, 1 Dec 2007 00:10:04 +0000 (00:10 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Sat, 1 Dec 2007 00:10:04 +0000 (00:10 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21891 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/kill.cpp
src/support/os_win32.cpp

index 4e6f173239c02b5dee4ac6ca852fc3c86fbd1a20..c29bbd7eff2590113f539759ce0d57110d03862d 100644 (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;
        }
index 0b9cc7c024adea1ebbd80c9c70d927b7c7fdcf73..8c44bed84f037874d28a8b2e0f134d67c2eff187 100644 (file)
@@ -62,7 +62,6 @@
 # endif
 #endif
 
-using std::endl;
 using std::string;