From d409f95c3f948cf95e7778a7017b68222b1c391e Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Fri, 30 Dec 2016 19:00:54 +0100 Subject: hide the function behind the correct define checks Change-Id: Ifef59d40975b6061a40b58d80817b6c15b856713 --- onlineupdate/source/update/updater/updater.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'onlineupdate') 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. -- cgit