Skip to content

Commit 41ab2a8

Browse files
authored
fix static_assert for macro HAVE_THREAD_LOCAL
fix static_assert for macro HAVE_THREAD_LOCAL while define DEBUG_LOCKCONTENTION
1 parent 3632143 commit 41ab2a8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/sync.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
// Distributed under the MIT software license, see the accompanying
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

5+
#if defined(HAVE_CONFIG_H)
6+
#include <config/bitcoin-config.h>
7+
#endif
8+
59
#include <sync.h>
610
#include <tinyformat.h>
711

0 commit comments

Comments
 (0)