diff options
| author | Vasil Dimov <[email protected]> | 2020-03-26 10:59:46 +0100 |
|---|---|---|
| committer | Vasil Dimov <[email protected]> | 2020-04-14 09:49:45 +0200 |
| commit | 182dbdf0f4b6e6484b0d4588aaefacc75862a99c (patch) | |
| tree | 4e4a612a329ed8a3af42bb789c824474cf678ec5 /src/httpserver.cpp | |
| parent | Merge #18398: rpc: fix broken RPCExamples for waitforblock(height) (diff) | |
| download | discoin-182dbdf0f4b6e6484b0d4588aaefacc75862a99c.tar.xz discoin-182dbdf0f4b6e6484b0d4588aaefacc75862a99c.zip | |
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/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions