diff options
author | Vasil Dimov <vd@FreeBSD.org> | 2020-03-26 10:59:46 +0100 |
---|---|---|
committer | Vasil Dimov <vd@FreeBSD.org> | 2020-04-14 09:49:45 +0200 |
commit | 182dbdf0f4b6e6484b0d4588aaefacc75862a99c (patch) | |
tree | 4e4a612a329ed8a3af42bb789c824474cf678ec5 /src/validation.cpp | |
parent | 7eed413e72a236b6f1475a198f7063fd24929e23 (diff) |
util: Detect posix_fallocate() instead of assuming
Don't assume that `posix_fallocate()` is available on Linux and not
available on other operating systems. At least FreeBSD has it and we
are not using it.
Properly check whether `posix_fallocate()` is present and use it if it
is.
Diffstat (limited to 'src/validation.cpp')
0 files changed, 0 insertions, 0 deletions