[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 @@ bool CWallet::AddToWallet(const CWalletTx& wtxIn, bool fFlushOnClose)
// Notify UI of new or updated transaction
NotifyTransactionChanged(this, hash, fInsertedNew ? CT_NEW : CT_UPDATED);
#if defined(HAVE_SYSTEM)
#if HAVE_SYSTEM
// notify an external script when a wallet transaction comes in or is updated
std::string strCmd = gArgs.GetArg("-walletnotify", "");