diff options
| author | Wladimir J. van der Laan <[email protected]> | 2011-06-18 18:42:13 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2011-07-07 15:18:35 +0200 |
| commit | 42c405ad2340c11c769643ab8aee5e6ab118d2a1 (patch) | |
| tree | 6fa28271ee08848e20815586c7551f7fe9223ba6 /src/init.cpp | |
| parent | CKeyStore::AddKey must return a boolean (diff) | |
| download | discoin-42c405ad2340c11c769643ab8aee5e6ab118d2a1.tar.xz discoin-42c405ad2340c11c769643ab8aee5e6ab118d2a1.zip | |
temp patch for qtui
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/init.cpp b/src/init.cpp index 635799ccf..adbfa18c6 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -3,7 +3,7 @@ // file license.txt or http://www.opensource.org/licenses/mit-license.php. #include "headers.h" #include "db.h" -#include "rpc.h" +#include "bitcoinrpc.h" #include "net.h" #include "init.h" #include "strlcpy.h" @@ -79,7 +79,7 @@ void HandleSIGTERM(int) // // Start // -#ifndef GUI +#if !defined(QT_GUI) && !defined(GUI) int main(int argc, char* argv[]) { bool fRet = false; @@ -239,10 +239,9 @@ bool AppInit2(int argc, char* argv[]) fServer = GetBoolArg("-server"); /* force fServer when running without GUI */ -#ifndef GUI +#if !defined(QT_GUI) && !defined(GUI) fServer = true; #endif - fPrintToConsole = GetBoolArg("-printtoconsole"); fPrintToDebugger = GetBoolArg("-printtodebugger"); @@ -545,7 +544,7 @@ bool AppInit2(int argc, char* argv[]) SetStartOnSystemStartup(true); #endif -#ifndef GUI +#if !defined(QT_GUI) && !defined(GUI) while (1) Sleep(5000); #endif |