mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
Fix pread detection for cmake builds
Otherwise it will use lseek()+read() - suboptimal
This commit is contained in:
parent
921097477e
commit
15e643d0ca
@ -268,6 +268,9 @@
|
||||
/* Define to 1 if you have the `sendfile' function. */
|
||||
#cmakedefine EVENT__HAVE_SENDFILE 1
|
||||
|
||||
/* Define to 1 if you have the `pread' function. */
|
||||
#cmakedefine EVENT__HAVE_PREAD 1
|
||||
|
||||
/* Define to 1 if you have the `sigaction' function. */
|
||||
#cmakedefine EVENT__HAVE_SIGACTION 1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user