Skip to content

Commit

Permalink
Fix test build after d138598
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
laanwj committed Mar 25, 2014
1 parent d138598 commit e3f5d43
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/test_bitcoin.cpp
Expand Up @@ -84,3 +84,8 @@ void StartShutdown()
exit(0);
}

bool ShutdownRequested()
{
return false;
}

0 comments on commit e3f5d43

Please sign in to comment.