diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-03-25 07:53:21 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-03-25 07:54:53 +0100 |
commit | e3f5d4338d0305a398817279e36ef2d0cfd2fd2b (patch) | |
tree | d3343e642bf9a48e910db638de687a60e1f7bf71 /src/test/test_bitcoin.cpp | |
parent | d138598f63cc980c1333e7c63a95b19e6b279025 (diff) |
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/test/test_bitcoin.cpp')
-rw-r--r-- | src/test/test_bitcoin.cpp | 5 |
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; +} + |