]> granicus.if.org Git - libevent/commit
Add check of mmap64 function and use it when available rather that mmap
authorDmitry Ilyin <dima@doty.ru>
Sun, 7 Aug 2022 10:51:48 +0000 (13:51 +0300)
committerAzat Khuzhin <azat@libevent.org>
Mon, 8 Aug 2022 22:18:10 +0000 (00:18 +0200)
commit99fd68abde4a59b90148db733fc51a7256cbd320
tree0d0a7a0a3a689950921ad4536adc0bbc0c0919f1
parentb2aca3bc31f46e7ea2fe2ac826ce2d3e6235f513
Add check of mmap64 function and use it when available rather that mmap

There can be issues on 32-bit architectures to mmap 2+GiB file, and to
make this portable between different version of glibc, mmap64 was
prefered over _FILE_OFFSET_BITS
CMakeLists.txt
buffer.c
configure.ac
event-config.h.cmake