Issue #1751 -- fix up a few stray #ifs

This commit is contained in:
Moonchild 2021-05-06 16:47:48 +00:00 committed by roytam1
commit 82b363f05d
2 changed files with 2 additions and 2 deletions

View file

@ -2197,7 +2197,7 @@ ProcessReplaceRequest()
// 2. Move newDir to destDir. In case of failure, revert step 1 and abort.
// 3. Delete tmpDir (or defer it to the next reboot).
#if XP_WIN
#ifdef XP_WIN
// Windows preserves the case of the file/directory names. We use the
// GetLongPathName API in order to get the correct case for the directory
// name, so that if the user has used a different case when launching the

View file

@ -1052,7 +1052,7 @@ nsXREDirProvider::GetUpdateRootDir(nsIFile* *aResult)
rv = appFile->GetParent(getter_AddRefs(updRoot));
NS_ENSURE_SUCCESS(rv, rv);
#if XP_WIN
#ifdef XP_WIN
nsAutoString pathHash;
bool pathHashResult = false;
bool hasVendor = gAppData->vendor && strlen(gAppData->vendor) != 0;