1
0

Windows backtrace: fprintf to fputs

This commit is contained in:
Tiger Wang 2021-06-06 17:13:26 +01:00
parent 17820b94f6
commit 91c1d1c58a

View File

@ -26,7 +26,7 @@ void PrintStackTrace(void)
{
virtual void OnOutput(LPCSTR szText) override
{
std::fprintf(stdout, szText);
std::fputs(szText, stdout);
}
} sw;
sw.ShowCallstack();