diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-02-17 18:00:41 +0100 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2012-02-17 12:05:09 -0500 |
commit | 82705af1eb521beefd63f81e3c5e39616fcf2076 (patch) | |
tree | e1d55442523d3c63b5ff3891ada94663bf8e8091 | |
parent | fdb365df0e9bf1b3073ea38212664cb59863bbd0 (diff) | |
download | bitcoin-82705af1eb521beefd63f81e3c5e39616fcf2076.tar.xz |
Change #ifdef GUI to #ifdef QT_GUI, GUI is not defined anymore...
-rw-r--r-- | src/init.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/init.cpp b/src/init.cpp index bb549ec42b..0d042f0cfb 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -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 |