Bug 78672, xpfe must not print to console in opt builds. Patch by gautheri@noos.fr, r=mconnor, a=asa.

This commit is contained in:
bryner%brianryner.com 2005-06-12 18:27:04 +00:00
Родитель cb85fa0e8f
Коммит f77479868c
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -353,7 +353,9 @@ nsNativeAppSupportWin::CheckConsole() {
FILE *hf = ::_fdopen( hCrt, "w" );
if ( hf ) {
*stdout = *hf;
#ifdef DEBUG
::fprintf( stdout, "stdout directed to dynamic console\n" );
#endif
}
}
@ -364,7 +366,9 @@ nsNativeAppSupportWin::CheckConsole() {
FILE *hf = ::_fdopen( hCrt, "w" );
if ( hf ) {
*stderr = *hf;
#ifdef DEBUG
::fprintf( stderr, "stderr directed to dynamic console\n" );
#endif
}
}