aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoin-cli.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-07-03 07:45:16 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-07-07 09:58:56 +0200
commit73ac7abd08a70adf22e24d0f5f7631e7f8b7c5bb (patch)
tree0561a092614fbfd68b29bc415b44b3d1cbe5fff6 /src/bitcoin-cli.cpp
parent509030344c66d2a2e27e50a690c43d577e5b943b (diff)
downloadbitcoin-73ac7abd08a70adf22e24d0f5f7631e7f8b7c5bb.tar.xz
Move ui_interface to bitcoin_server.a
There is no need for it in the utility libraries or tools. Put it in init.cpp, and in the tests separately (as they can't link init).
Diffstat (limited to 'src/bitcoin-cli.cpp')
-rw-r--r--src/bitcoin-cli.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bitcoin-cli.cpp b/src/bitcoin-cli.cpp
index db39df4b17..016b2f50f5 100644
--- a/src/bitcoin-cli.cpp
+++ b/src/bitcoin-cli.cpp
@@ -7,11 +7,12 @@
#include "init.h"
#include "rpcclient.h"
#include "rpcprotocol.h"
-#include "ui_interface.h" /* for _(...) */
#include "chainparamsbase.h"
#include <boost/filesystem/operations.hpp>
+#define _(x) std::string(x) /* Keep the _() around in case gettext or such will be used later to translate non-UI */
+
using namespace std;
using namespace boost;
using namespace boost::asio;