[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
No known key found for this signature in database
GPG key ID: 57FF9BDBCC301009
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;