зеркало из https://github.com/mozilla/pjs.git
Adding platformVersionCheck() into USE_REG ifdef
This commit is contained in:
Родитель
064a680a64
Коммит
80aceefbf9
|
@ -919,9 +919,10 @@ nsresult nsRepository::Initialize(void)
|
||||||
PR_LOG(logmodule, PR_LOG_ALWAYS, ("nsRepository: Initialized."));
|
PR_LOG(logmodule, PR_LOG_ALWAYS, ("nsRepository: Initialized."));
|
||||||
#ifdef USE_NSREG
|
#ifdef USE_NSREG
|
||||||
NR_StartupRegistry();
|
NR_StartupRegistry();
|
||||||
#endif
|
|
||||||
// Check the version of registry. Nuke old versions.
|
// Check the version of registry. Nuke old versions.
|
||||||
platformVersionCheck();
|
platformVersionCheck();
|
||||||
|
#endif
|
||||||
|
|
||||||
// Initiate autoreg
|
// Initiate autoreg
|
||||||
AutoRegister(NS_Startup, NULL);
|
AutoRegister(NS_Startup, NULL);
|
||||||
|
|
|
@ -919,9 +919,10 @@ nsresult nsRepository::Initialize(void)
|
||||||
PR_LOG(logmodule, PR_LOG_ALWAYS, ("nsRepository: Initialized."));
|
PR_LOG(logmodule, PR_LOG_ALWAYS, ("nsRepository: Initialized."));
|
||||||
#ifdef USE_NSREG
|
#ifdef USE_NSREG
|
||||||
NR_StartupRegistry();
|
NR_StartupRegistry();
|
||||||
#endif
|
|
||||||
// Check the version of registry. Nuke old versions.
|
// Check the version of registry. Nuke old versions.
|
||||||
platformVersionCheck();
|
platformVersionCheck();
|
||||||
|
#endif
|
||||||
|
|
||||||
// Initiate autoreg
|
// Initiate autoreg
|
||||||
AutoRegister(NS_Startup, NULL);
|
AutoRegister(NS_Startup, NULL);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче