aboutsummaryrefslogtreecommitdiff
path: root/src/util/system.h
diff options
context:
space:
mode:
authorSjors Provoost <sjors@sprovoost.nl>2019-03-14 11:30:37 +0100
committerSjors Provoost <sjors@sprovoost.nl>2019-06-06 11:54:26 +0200
commitf874e14cd3c84cd412bd3fb42b3ee1706ca6a267 (patch)
tree26a3b6fc73c55d01cf1bbba8c00347529ae76d0b /src/util/system.h
parentcc3ad56ff2bc2583fe68c4a9e0b41072a47c0b07 (diff)
[build]: check std::system for -[alert|block|wallet]notify
Platforms such as iOs do not support launching a process through system().
Diffstat (limited to 'src/util/system.h')
-rw-r--r--src/util/system.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/system.h b/src/util/system.h
index 1a83cb67b1..6677e52b83 100644
--- a/src/util/system.h
+++ b/src/util/system.h
@@ -90,7 +90,9 @@ fs::path GetConfigFile(const std::string& confPath);
#ifdef WIN32
fs::path GetSpecialFolderPath(int nFolder, bool fCreate = true);
#endif
+#if defined(HAVE_SYSTEM)
void runCommand(const std::string& strCommand);
+#endif
/**
* Most paths passed as configuration arguments are treated as relative to