[build]: use #if HAVE_SYSTEM instead of defined(HAVE_SYSTEM)

This commit is contained in:
Sjors Provoost
2019-07-05 18:30:15 +02:00
parent 8c69fae944
commit 976b034b13
6 changed files with 9 additions and 9 deletions

View File

@@ -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;