Fix pread detection for cmake builds

Otherwise it will use lseek()+read() - suboptimal
This commit is contained in:
Azat Khuzhin 2024-03-03 14:49:34 +01:00 committed by Azat Khuzhin
parent 921097477e
commit 15e643d0ca

View File

@ -268,6 +268,9 @@
/* Define to 1 if you have the `sendfile' function. */ /* Define to 1 if you have the `sendfile' function. */
#cmakedefine EVENT__HAVE_SENDFILE 1 #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. */ /* Define to 1 if you have the `sigaction' function. */
#cmakedefine EVENT__HAVE_SIGACTION 1 #cmakedefine EVENT__HAVE_SIGACTION 1