Change #ifdef GUI to #ifdef QT_GUI, GUI is not defined anymore...
This commit is contained in:
parent
39231e9105
commit
a3f3e54eee
@ -210,10 +210,10 @@ bool AppInit2(int argc, char* argv[])
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
" -paytxfee=<amt> \t " + _("Fee per KB to add to transactions you send") + "\n" +
|
" -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" +
|
" -server \t\t " + _("Accept command line and JSON-RPC commands") + "\n" +
|
||||||
#endif
|
#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" +
|
" -daemon \t\t " + _("Run in the background as a daemon and accept commands") + "\n" +
|
||||||
#endif
|
#endif
|
||||||
" -testnet \t\t " + _("Use the test network") + "\n" +
|
" -testnet \t\t " + _("Use the test network") + "\n" +
|
||||||
@ -253,7 +253,7 @@ bool AppInit2(int argc, char* argv[])
|
|||||||
fTestNet = GetBoolArg("-testnet");
|
fTestNet = GetBoolArg("-testnet");
|
||||||
fDebug = GetBoolArg("-debug");
|
fDebug = GetBoolArg("-debug");
|
||||||
|
|
||||||
#if !defined(WIN32) && !defined(GUI)
|
#if !defined(WIN32) && !defined(QT_GUI)
|
||||||
fDaemon = GetBoolArg("-daemon");
|
fDaemon = GetBoolArg("-daemon");
|
||||||
#else
|
#else
|
||||||
fDaemon = false;
|
fDaemon = false;
|
||||||
@ -284,7 +284,7 @@ bool AppInit2(int argc, char* argv[])
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(WIN32) && !defined(GUI)
|
#if !defined(WIN32) && !defined(QT_GUI)
|
||||||
if (fDaemon)
|
if (fDaemon)
|
||||||
{
|
{
|
||||||
// Daemonize
|
// Daemonize
|
||||||
|
Loading…
Reference in New Issue
Block a user