diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-11-28 00:25:07 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-05-19 03:43:26 +0200 |
commit | bb67212a05de212baece36b6875468d575340684 (patch) | |
tree | 199931bc2dcac32ef2be20e5f86c4f4611ad105d /onlineupdate/source | |
parent | 22a1632e58ab4a3e576b11d2ec7d386dfc5119a4 (diff) |
fix Wundef warnings
Change-Id: I36a68731e861a58d631249e6580233102cd3b702
Diffstat (limited to 'onlineupdate/source')
-rw-r--r-- | onlineupdate/source/update/updater/updater.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/onlineupdate/source/update/updater/updater.cxx b/onlineupdate/source/update/updater/updater.cxx index 3b90dbe4c54f..a055d9def673 100644 --- a/onlineupdate/source/update/updater/updater.cxx +++ b/onlineupdate/source/update/updater/updater.cxx @@ -2518,7 +2518,7 @@ int LaunchCallbackAndPostProcessApps(int argc, NS_tchar** argv, #ifdef _WIN32 , const WCHAR* elevatedLockFilePath , HANDLE updateLockFileHandle -#elif MACOSX +#elif defined(MACOSX) , bool isElevated #endif ) @@ -2542,7 +2542,7 @@ int LaunchCallbackAndPostProcessApps(int argc, NS_tchar** argv, } } EXIT_WHEN_ELEVATED(elevatedLockFilePath, updateLockFileHandle, 0); -#elif MACOSX +#elif defined(MACOSX) if (!isElevated) { if (gSucceeded) { LaunchMacPostProcess(gInstallDirPath); @@ -3450,7 +3450,7 @@ int NS_main(int argc, NS_tchar **argv) #ifdef _WIN32 , elevatedLockFilePath , updateLockFileHandle -#elif XP_MACOSX +#elif defined(MACOSX) , isElevated #endif ); |