Browse Source

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.
try
Wladimir J. van der Laan 11 years ago
parent
commit
e3f5d4338d
No known key found for this signature in database GPG Key ID: 74810B012346C9A6
  1. 5
      src/test/test_bitcoin.cpp

5
src/test/test_bitcoin.cpp

@ -84,3 +84,8 @@ void StartShutdown()
exit(0); exit(0);
} }
bool ShutdownRequested()
{
return false;
}

Loading…
Cancel
Save