From e3f5d4338d0305a398817279e36ef2d0cfd2fd2b Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Tue, 25 Mar 2014 07:53:21 +0100 Subject: [PATCH] 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. --- src/test/test_bitcoin.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp index 3b75aad14b136..2d993e24dbdc4 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; +} +