From 26ecf8107dcaff842bd02c255aa38b785f1db410 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Sun, 10 Jul 2011 00:23:16 -0400 Subject: [PATCH] Tag, you're it! --- src/RageLog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() )