diff --git a/src/RageLog.cpp b/src/RageLog.cpp index a01fdb8047..d1e60e8eb0 100644 --- a/src/RageLog.cpp +++ b/src/RageLog.cpp @@ -10,6 +10,7 @@ #if defined(_WINDOWS) #include #endif +#include #include RageLog* LOG; // global and accessable from anywhere in the program @@ -262,7 +263,7 @@ void RageLog::Write( int where, const RString &sLine ) sStr.insert( 0, sWarning ); if( m_bShowLogOutput || (where&WRITE_TO_INFO) ) - _putws( (const wchar_t *)sStr.c_str() ); + fputws( (const wchar_t *)sStr.c_str(), stdout ); if( where & WRITE_TO_INFO ) AddToInfo( sStr ); if( m_bLogToDisk && (where&WRITE_TO_INFO) && g_fileInfo->IsOpen() )