Permalink
Browse files

Linux compile issue with Console

  • Loading branch information...
1 parent d4cefe0 commit e3c3554273b8359bd22d83ec346f700729d6f0fd darkangelab committed Jan 24, 2009
Showing with 2 additions and 0 deletions.
  1. +2 −0 source/cConsole.cpp
View
@@ -109,6 +109,7 @@ CConsole& CConsole::operator<<( const SI08 *outPut )
CConsole& CConsole::operator<<( const char *outPut )
{
StartOfLineCheck();
+#if UOX_PLATFORM == PLATFORM_WIN32
CONSOLE_SCREEN_BUFFER_INFO ScrBuffInfo;
GetConsoleScreenBufferInfo( hco, &ScrBuffInfo );
std::string toDisplay = outPut;
@@ -134,6 +135,7 @@ CConsole& CConsole::operator<<( const char *outPut )
}
}
else
+#endif
{
std::cout << outPut;
}

0 comments on commit e3c3554

Please sign in to comment.