1
0
Fork 0

(svn r2686) Revert accidently commited change

release/0.4.5
tron 2005-07-23 15:24:31 +00:00
parent 07a6e612ec
commit 5178ad768d
1 changed files with 1 additions and 1 deletions

View File

@ -1079,7 +1079,7 @@ void CreateConsole(void)
SetConsoleScreenBufferSize(hand, coninfo.dwSize);
// redirect unbuffered STDIN, STDOUT, STDERR to the console
#if !defined(__CYGWIN__) && 0
#if !defined(__CYGWIN__)
*stdout = *_fdopen( _open_osfhandle((long)hand, _O_TEXT), "w" );
*stdin = *_fdopen(_open_osfhandle((long)GetStdHandle(STD_INPUT_HANDLE), _O_TEXT), "r" );
*stderr = *_fdopen(_open_osfhandle((long)GetStdHandle(STD_ERROR_HANDLE), _O_TEXT), "w" );