diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-12-30 19:00:54 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-05-19 03:43:27 +0200 |
commit | d409f95c3f948cf95e7778a7017b68222b1c391e (patch) | |
tree | 20ab9c931b7f9e8c5a1c31aefa04b2c4bdebb85f /onlineupdate/source/update | |
parent | a37547e6c09a35fa8738288271448a7ab11cde86 (diff) |
hide the function behind the correct define checks
Change-Id: Ifef59d40975b6061a40b58d80817b6c15b856713
Diffstat (limited to 'onlineupdate/source/update')
-rw-r--r-- | onlineupdate/source/update/updater/updater.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/onlineupdate/source/update/updater/updater.cxx b/onlineupdate/source/update/updater/updater.cxx index 2a680139459c..3b560bbfe6ea 100644 --- a/onlineupdate/source/update/updater/updater.cxx +++ b/onlineupdate/source/update/updater/updater.cxx @@ -277,12 +277,14 @@ mstrtok(const NS_tchar *delims, NS_tchar **str) return ret; } +#if defined(_WIN32) && defined(MAINTENANCE_SERVICE) static bool EnvHasValue(const char *name) { const char *val = getenv(name); return (val && *val); } +#endif /** * Coverts a relative update path to a full path. |