REGISTER_SCRIPTFUNCTION(basename, &Utility::BaseName);
REGISTER_SCRIPTFUNCTION(dirname, &Utility::DirName);
REGISTER_SCRIPTFUNCTION(msi_get_component_path, &ScriptUtils::MsiGetComponentPathShim);
+#ifdef _WIN32
REGISTER_SCRIPTFUNCTION(escape_create_process_arg, &Utility::EscapeCreateProcessArg);
+#endif /* _WIN32 */
+>>>>>>> 08ccb4e... Build fix
String ScriptUtils::CastString(const Value& value)
{
static String EscapeShellCmd(const String& s);
static String EscapeShellArg(const String& s);
+#ifdef _WIN32
static String EscapeCreateProcessArg(const String& arg);
+#endif /* _WIN32 */
static String EscapeString(const String& s, const String& chars);
static String UnescapeString(const String& s);