Build fix

refs #10245
This commit is contained in:
Gunnar Beutner 2015-09-30 11:05:20 +02:00
parent 254c076dd4
commit 08ccb4e323
2 changed files with 4 additions and 0 deletions

View File

@ -61,7 +61,9 @@ REGISTER_SAFE_SCRIPTFUNCTION(msi_get_component_path, &ScriptUtils::MsiGetCompone
REGISTER_SAFE_SCRIPTFUNCTION(track_parents, &ScriptUtils::TrackParents);
REGISTER_SAFE_SCRIPTFUNCTION(escape_shell_cmd, &Utility::EscapeShellCmd);
REGISTER_SAFE_SCRIPTFUNCTION(escape_shell_arg, &Utility::EscapeShellArg);
#ifdef _WIN32
REGISTER_SAFE_SCRIPTFUNCTION(escape_create_process_arg, &Utility::EscapeCreateProcessArg);
#endif /* _WIN32 */
String ScriptUtils::CastString(const Value& value)
{

View File

@ -103,7 +103,9 @@ public:
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, const bool illegal);
static String UnescapeString(const String& s);