mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-21 15:50:07 +01:00
temp patch for qtui
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user