Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #100: [BUGFIX] cmake: Fix
HAVE_THREAD_LOCAL
macro visibility
cbd43cc fixup! cmake: Build `bitcoind` executable (Hennadii Stepanov) 6be6d78 fixup! cmake: Build `bitcoin_util` static library (Hennadii Stepanov) Pull request description: The `HAVE_THREAD_LOCAL` is not visible in `src/test/util_threadnames_tests.cpp`. It is easy to verify with the diff as follows: ```diff --- a/src/test/util_threadnames_tests.cpp +++ b/src/test/util_threadnames_tests.cpp @@ -55,6 +55,7 @@ std::set<std::string> RenameEnMasse(int num_threads) BOOST_AUTO_TEST_CASE(util_threadnames_test_rename_threaded) { #if !defined(HAVE_THREAD_LOCAL) +#error // This test doesn't apply to platforms where we don't have thread_local. return; #endif ``` This PR fixes this issue by moving the macro definition to the `core_interface` library. Split from #84. ACKs for top commit: vasild: ACK cbd43cc Tree-SHA512: bd558ae35251d0e9bbdf494690a06ed57f6a36bdbf94840f1b134779bef5aa1de94ee53c962948a5a4b9cc11927777b5a919a7506779149e5fe0c6355c416419
- Loading branch information