mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 19:20:09 +00:00
Show text on console too when TRACE() is used on Windows
This commit is contained in:
parent
59773e104e
commit
350cc2df2d
@ -63,14 +63,10 @@ void base_trace(const char* msg, ...)
|
||||
va_end(ap);
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
_CrtDbgReport(_CRT_WARN, NULL, 0, NULL, buf);
|
||||
|
||||
#else
|
||||
#endif
|
||||
|
||||
std::cerr << buf << std::flush;
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user