Kaydet (Commit) b4f9ce19 authored tarafından Luboš Luňák's avatar Luboš Luňák

make SAL_DEBUG add newline in Windows debug console too

Change-Id: I7485ab11e4bb60420153ac53784057e5cc905c39
Reviewed-on: https://gerrit.libreoffice.org/68499
Tested-by: Jenkins
Reviewed-by: 's avatarLuboš Luňák <l.lunak@collabora.com>
üst 3963bab7
......@@ -336,11 +336,11 @@ void sal_detail_log(
*logFile << s.str() << std::endl;
}
else {
s << '\n';
#ifdef _WIN32
// write to Windows debugger console, too
OutputDebugStringA(s.str().c_str());
#endif
s << '\n';
std::fputs(s.str().c_str(), stderr);
std::fflush(stderr);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment