aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-03-25 07:53:21 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2014-03-25 07:54:53 +0100
commite3f5d4338d0305a398817279e36ef2d0cfd2fd2b (patch)
treed3343e642bf9a48e910db638de687a60e1f7bf71 /src
parentd138598f63cc980c1333e7c63a95b19e6b279025 (diff)
downloadbitcoin-e3f5d4338d0305a398817279e36ef2d0cfd2fd2b.tar.xz
Fix test build after d138598
Building the tests was giving some vague error message about a doubly-defined symbol. The solution is to define ShutdownRequested in test_bitcoin.cpp as well so that init.cpp does not get pulled in.
Diffstat (limited to 'src')
-rw-r--r--src/test/test_bitcoin.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp
index 3b75aad14b..2d993e24db 100644
--- a/src/test/test_bitcoin.cpp
+++ b/src/test/test_bitcoin.cpp
@@ -84,3 +84,8 @@ void StartShutdown()
exit(0);
}
+bool ShutdownRequested()
+{
+ return false;
+}
+