aboutsummaryrefslogtreecommitdiff
path: root/src/dummywallet.cpp
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2020-07-28 19:55:00 +0800
committerfanquake <fanquake@gmail.com>2020-07-28 22:39:56 +0800
commit1d8338d6b71447a5bf18750ca44724345aae5b60 (patch)
tree6bf4e53bd468cfb6f634f1343430ef9100edb4c2 /src/dummywallet.cpp
parent24ead1a923e3af0f4e9178cc3de033493401192c (diff)
downloadbitcoin-1d8338d6b71447a5bf18750ca44724345aae5b60.tar.xz
util: use HAVE_FDATASYNC to determine fdatasync() use
Rather than just using it on Linux and NetBSD, use `fdatasync()` based on whether it's available. i.e it is available in newer versions of FreeBSD (11.1 and later). This also aligns our code more closely with what is being done in leveldb. Was pointed out by Luke in #19430.
Diffstat (limited to 'src/dummywallet.cpp')
0 files changed, 0 insertions, 0 deletions