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
parent 99927c39d4
commit 2e53931b53

View File

@ -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
}
}