diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-12-28 18:24:21 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-12-28 18:28:18 -0800 |
commit | 45fdade6c0415ec5af3f9312e6311a4ccc682a7b (patch) | |
tree | 542b4a34960a749fd83e7e2b71fcfeff440b9d17 /CONTRIBUTING.md | |
parent | 6abc1958562c49d797ea23270a355caf5dc39f94 (diff) |
direct_mmap: Use off_t on linux
off64_t is not provided without defining _LARGEFILE64_SOURCE on musl
this define is not defined automatically like glibc where it gets
defined when _GNU_SOURCE is defined. Using off_t makes it portable
across musl/glibc and for using 64bit off_t on glibc 32bit systems
-D_FILE_OFFSET_BITS=64 can be defined during build via CXXFLAGS
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions