Show text on console too when TRACE() is used on Windows

This commit is contained in:
David Capello 2016-04-22 12:27:00 -03:00
parent 59773e104e
commit 350cc2df2d

View File

@ -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