aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorSjors Provoost <sjors@sprovoost.nl>2019-07-05 18:30:15 +0200
committerSjors Provoost <sjors@sprovoost.nl>2019-07-05 18:32:05 +0200
commit976b034b13d28877aee641833d5ee28a8cc5d83f (patch)
tree541ac198f12969bf3054c306351523de41463b11 /src/util
parent8c69fae94410f54bad13be0f34d54370fddbf4b3 (diff)
downloadbitcoin-976b034b13d28877aee641833d5ee28a8cc5d83f.tar.xz
[build]: use #if HAVE_SYSTEM instead of defined(HAVE_SYSTEM)
Diffstat (limited to 'src/util')
-rw-r--r--src/util/system.cpp2
-rw-r--r--src/util/system.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/util/system.cpp b/src/util/system.cpp
index 0f599b85f1..61b81d51eb 100644
--- a/src/util/system.cpp
+++ b/src/util/system.cpp
@@ -1114,7 +1114,7 @@ fs::path GetSpecialFolderPath(int nFolder, bool fCreate)
}
#endif
-#if defined(HAVE_SYSTEM)
+#if HAVE_SYSTEM
void runCommand(const std::string& strCommand)
{
if (strCommand.empty()) return;
diff --git a/src/util/system.h b/src/util/system.h
index fd0583658b..dda9156488 100644
--- a/src/util/system.h
+++ b/src/util/system.h
@@ -89,7 +89,7 @@ fs::path GetConfigFile(const std::string& confPath);
#ifdef WIN32
fs::path GetSpecialFolderPath(int nFolder, bool fCreate = true);
#endif
-#if defined(HAVE_SYSTEM)
+#if HAVE_SYSTEM
void runCommand(const std::string& strCommand);
#endif