diff options
| author | orient <[email protected]> | 2019-05-07 14:11:35 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-05-07 14:11:35 +0800 |
| commit | 41ab2a892456f4f3e27128a7f9237bc45cc288dd (patch) | |
| tree | ae014378378a43580631abf781edf287dd95bdad /src/sync.cpp | |
| parent | Merge #14266: refactor: Lift prevector default vals to the member declaration (diff) | |
| download | discoin-41ab2a892456f4f3e27128a7f9237bc45cc288dd.tar.xz discoin-41ab2a892456f4f3e27128a7f9237bc45cc288dd.zip | |
fix static_assert for macro HAVE_THREAD_LOCAL
fix static_assert for macro HAVE_THREAD_LOCAL while define DEBUG_LOCKCONTENTION
Diffstat (limited to 'src/sync.cpp')
| -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 e7c0a6f9b..c2767b200 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> |