diff options
-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. |