mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-17 02:49:19 +00:00
Change #ifdef GUI to #ifdef QT_GUI, GUI is not defined anymore...
This commit is contained in:
parent
fdb365df0e
commit
82705af1eb
@ -206,10 +206,10 @@ bool AppInit2(int argc, char* argv[])
|
||||
#endif
|
||||
#endif
|
||||
" -paytxfee=<amt> \t " + _("Fee per kB to add to transactions you send\n") +
|
||||
#ifdef GUI
|
||||
#ifdef QT_GUI
|
||||
" -server \t\t " + _("Accept command line and JSON-RPC commands\n") +
|
||||
#endif
|
||||
#if !defined(WIN32) && !defined(GUI)
|
||||
#if !defined(WIN32) && !defined(QT_GUI)
|
||||
" -daemon \t\t " + _("Run in the background as a daemon and accept commands\n") +
|
||||
#endif
|
||||
" -testnet \t\t " + _("Use the test network\n") +
|
||||
@ -248,7 +248,7 @@ bool AppInit2(int argc, char* argv[])
|
||||
fTestNet = GetBoolArg("-testnet");
|
||||
fDebug = GetBoolArg("-debug");
|
||||
|
||||
#if !defined(WIN32) && !defined(GUI)
|
||||
#if !defined(WIN32) && !defined(QT_GUI)
|
||||
fDaemon = GetBoolArg("-daemon");
|
||||
#else
|
||||
fDaemon = false;
|
||||
@ -279,7 +279,7 @@ bool AppInit2(int argc, char* argv[])
|
||||
}
|
||||
#endif
|
||||
|
||||
#if !defined(WIN32) && !defined(GUI)
|
||||
#if !defined(WIN32) && !defined(QT_GUI)
|
||||
if (fDaemon)
|
||||
{
|
||||
// Daemonize
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user