зеркало из https://github.com/mozilla/gecko-dev.git
Bug 78672 #ifdef DEBUG some printfs p=gautheri@noos.fr r=me sr=alecf
This commit is contained in:
Родитель
3ae8f7754e
Коммит
7a5736e42a
|
@ -170,10 +170,12 @@ nsSplashScreenPh::Show()
|
|||
PtFlush();
|
||||
}
|
||||
}
|
||||
#ifdef DEBUG
|
||||
else
|
||||
{
|
||||
fprintf( stderr, "Error loading splash screen image: %s\n", splash );
|
||||
}
|
||||
#endif
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
|
@ -586,7 +586,9 @@ nsNativeAppSupportWin::CheckConsole() {
|
|||
FILE *hf = ::_fdopen( hCrt, "w" );
|
||||
if ( hf ) {
|
||||
*stdout = *hf;
|
||||
#ifdef DEBUG
|
||||
::fprintf( stdout, "stdout directed to dynamic console\n" );
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -597,7 +599,9 @@ nsNativeAppSupportWin::CheckConsole() {
|
|||
FILE *hf = ::_fdopen( hCrt, "w" );
|
||||
if ( hf ) {
|
||||
*stderr = *hf;
|
||||
#ifdef DEBUG
|
||||
::fprintf( stderr, "stderr directed to dynamic console\n" );
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче