diff options
author | orient <orientye@users.noreply.github.com> | 2019-05-07 14:11:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-07 14:11:35 +0800 |
commit | 41ab2a892456f4f3e27128a7f9237bc45cc288dd (patch) | |
tree | ae014378378a43580631abf781edf287dd95bdad /src | |
parent | 3632143ebbfdd4888571db800c8ee8d684eec57b (diff) | |
download | bitcoin-41ab2a892456f4f3e27128a7f9237bc45cc288dd.tar.xz |
fix static_assert for macro HAVE_THREAD_LOCAL
fix static_assert for macro HAVE_THREAD_LOCAL while define DEBUG_LOCKCONTENTION
Diffstat (limited to 'src')
-rw-r--r-- | src/sync.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sync.cpp b/src/sync.cpp index e7c0a6f9bc..c2767b200a 100644 --- a/src/sync.cpp +++ b/src/sync.cpp @@ -2,6 +2,10 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. +#if defined(HAVE_CONFIG_H) +#include <config/bitcoin-config.h> +#endif + #include <sync.h> #include <tinyformat.h> |