mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 08:12:37 +01:00
ircd::db: Update include for checksum related interposition.
This commit is contained in:
parent
a46382b285
commit
285cdf6afc
1 changed files with 6 additions and 1 deletions
|
@ -30,6 +30,10 @@
|
|||
#include "file/file_util.h"
|
||||
#endif
|
||||
|
||||
#if __has_include("table/block_fetcher.h")
|
||||
#include "table/block_fetcher.h"
|
||||
#endif
|
||||
|
||||
#if __has_include("file/sst_file_manager_impl.h")
|
||||
#include "file/sst_file_manager_impl.h"
|
||||
#elif __has_include("util/sst_file_manager_impl.h")
|
||||
|
@ -374,7 +378,8 @@ rocksdb::ThreadLocalPtr::Fold(FoldFunc func,
|
|||
// available.
|
||||
//
|
||||
|
||||
#if (__has_include("util/file_util.h") || __has_include("file/file_util.h")) && defined(IRCD_DB_BYPASS_CHECKSUM)
|
||||
#if defined(IRCD_DB_BYPASS_CHECKSUM) \
|
||||
&& (__has_include("util/file_util.h") || __has_include("file/file_util.h") || __has_include("table/block_fetcher.h"))
|
||||
void
|
||||
rocksdb::BlockFetcher::CheckBlockChecksum()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue