Mercurial > hg > bitcoin
changeset 1860:abe71ced7c8c draft
Change #ifdef GUI to #ifdef QT_GUI, GUI is not defined anymore...
author | Wladimir J. van der Laan <laanwj@gmail.com> |
---|---|
date | Fri, 17 Feb 2012 18:00:41 +0100 |
parents | 43e2ebbd5bde |
children | 3be37a68e1ac b3d09f76fdfa 7b3b6b8147bd |
files | src/init.cpp |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/init.cpp +++ b/src/init.cpp @@ -210,10 +210,10 @@ #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" + @@ -253,7 +253,7 @@ fTestNet = GetBoolArg("-testnet"); fDebug = GetBoolArg("-debug"); -#if !defined(WIN32) && !defined(GUI) +#if !defined(WIN32) && !defined(QT_GUI) fDaemon = GetBoolArg("-daemon"); #else fDaemon = false; @@ -284,7 +284,7 @@ } #endif -#if !defined(WIN32) && !defined(GUI) +#if !defined(WIN32) && !defined(QT_GUI) if (fDaemon) { // Daemonize