aboutsummaryrefslogtreecommitdiff
path: root/src/validation.cpp
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/validation.cpp
parent8c69fae94410f54bad13be0f34d54370fddbf4b3 (diff)
[build]: use #if HAVE_SYSTEM instead of defined(HAVE_SYSTEM)
Diffstat (limited to 'src/validation.cpp')
-rw-r--r--src/validation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.cpp b/src/validation.cpp
index 76bbb7920b..262b6856a4 100644
--- a/src/validation.cpp
+++ b/src/validation.cpp
@@ -1050,7 +1050,7 @@ static CBlockIndex *pindexBestForkTip = nullptr, *pindexBestForkBase = nullptr;
static void AlertNotify(const std::string& strMessage)
{
uiInterface.NotifyAlertChanged();
-#if defined(HAVE_SYSTEM)
+#if HAVE_SYSTEM
std::string strCmd = gArgs.GetArg("-alertnotify", "");
if (strCmd.empty()) return;