diff --git a/src/base/system.c b/src/base/system.c index e59df8da9..a7ea50684 100644 --- a/src/base/system.c +++ b/src/base/system.c @@ -275,17 +275,7 @@ static void logger_file(const char *line) io_flush(logfile); } -void dbg_logger_stdout() -{ -#if defined(CONF_FAMILY_WINDOWS) - if(GetFileType(GetStdHandle(STD_OUTPUT_HANDLE)) == FILE_TYPE_CHAR) - { - dbg_logger(logger_win_console); - return; - } -#endif - dbg_logger(logger_stdout); -} +void dbg_logger_stdout() { dbg_logger(logger_stdout); } void dbg_logger_debugger() { dbg_logger(logger_debugger); } void dbg_logger_file(const char *filename)