198296 --disable-xpinstall breaks mozilla build r=dougt, sr=alecf,jag

This commit is contained in:
cbiesinger%web.de 2003-03-21 14:08:48 +00:00
Родитель b7bb5e49db
Коммит 4838278138
1 изменённых файлов: 4 добавлений и 0 удалений

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

@ -83,8 +83,10 @@
#include "nsIWindowWatcher.h" #include "nsIWindowWatcher.h"
#include "nsProcess.h" #include "nsProcess.h"
#ifdef MOZ_XPINSTALL
#include "InstallCleanupDefines.h" #include "InstallCleanupDefines.h"
#include "nsISoftwareUpdate.h" #include "nsISoftwareUpdate.h"
#endif
// Interfaces Needed // Interfaces Needed
#include "nsIXULWindow.h" #include "nsIXULWindow.h"
@ -960,6 +962,7 @@ static void ShowOSAlertFromFile(int argc, char **argv, const char *alert_filenam
static nsresult VerifyInstallation(int argc, char **argv) static nsresult VerifyInstallation(int argc, char **argv)
{ {
#ifdef MOZ_XPINSTALL
nsresult rv; nsresult rv;
nsCOMPtr<nsILocalFile> registryFile; nsCOMPtr<nsILocalFile> registryFile;
@ -997,6 +1000,7 @@ static nsresult VerifyInstallation(int argc, char **argv)
//We must exit because all open files must be released by the system //We must exit because all open files must be released by the system
return NS_ERROR_FAILURE; return NS_ERROR_FAILURE;
} }
#endif
return NS_OK; return NS_OK;
} }