diff options
Diffstat (limited to 'src/util/system.cpp')
-rw-r--r-- | src/util/system.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/system.cpp b/src/util/system.cpp index 6925bda4ef..86606ea446 100644 --- a/src/util/system.cpp +++ b/src/util/system.cpp @@ -1122,6 +1122,7 @@ fs::path GetSpecialFolderPath(int nFolder, bool fCreate) } #endif +#if defined(HAVE_SYSTEM) void runCommand(const std::string& strCommand) { if (strCommand.empty()) return; @@ -1133,6 +1134,7 @@ void runCommand(const std::string& strCommand) if (nErr) LogPrintf("runCommand error: system(%s) returned %d\n", strCommand, nErr); } +#endif void SetupEnvironment() { |