diff options
| author | Wladimir J. van der Laan <[email protected]> | 2012-05-19 09:35:26 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2012-05-20 10:44:50 +0200 |
| commit | 239c11d0dd4287e74286c40fb338aea85f4b1996 (patch) | |
| tree | 4ad01e70d94768977f25a0129255ec3c84635f2e /src/test/test_bitcoin.cpp | |
| parent | Process address book updates incrementally (diff) | |
| download | discoin-239c11d0dd4287e74286c40fb338aea85f4b1996.tar.xz discoin-239c11d0dd4287e74286c40fb338aea85f4b1996.zip | |
Make testcases build, prevent windows symbol collision
Diffstat (limited to 'src/test/test_bitcoin.cpp')
| -rw-r--r-- | src/test/test_bitcoin.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp index 7ff7545ab..bf597c9b7 100644 --- a/src/test/test_bitcoin.cpp +++ b/src/test/test_bitcoin.cpp @@ -5,11 +5,15 @@ #include "wallet.h" CWallet* pwalletMain; +CClientUIInterface uiInterface; extern bool fPrintToConsole; +extern void noui_connect(); + struct TestingSetup { TestingSetup() { fPrintToConsole = true; // don't want to write to debug.log file + noui_connect(); pwalletMain = new CWallet(); RegisterWallet(pwalletMain); } |