Changes for the qnx(photon) platform only. They should not affect building/runtime other platforms.

git-svn-id: svn://10.0.0.236/trunk@153110 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
amardare%qnx.com 2004-02-23 20:52:52 +00:00
parent e121258eb2
commit ffcbd854ba

View File

@ -1679,14 +1679,18 @@ int main(int argc, char* argv[])
// has responsibility to release it.
nsISplashScreen *splash = 0;
PRBool defaultSplash;
#ifdef MOZ_WIDGET_PHOTON
defaultSplash = PR_TRUE;
#else
#ifdef MOZ_XUL_APP
defaultSplash = aAppData.GetSplashEnabled();
#else
#ifdef XP_UNIX && !defined(MOZ_WIDGET_PHOTON)
#ifdef XP_UNIX
defaultSplash = PR_FALSE;
#else
defaultSplash = PR_TRUE;
#endif /* XP_UNIX && !defined(MOZ_WIDGET_PHOTON) */
#endif /* MOZ_WIDGET_PHOTON */
#endif /* XP_UNIX */
#endif /* MOZ_XUL_APP */
PRBool dosplash = GetWantSplashScreen(argc, argv, defaultSplash);