summaryrefslogtreecommitdiff
path: root/cmake/CheckWorkingKqueue.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/CheckWorkingKqueue.cmake')
-rw-r--r--cmake/CheckWorkingKqueue.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/CheckWorkingKqueue.cmake b/cmake/CheckWorkingKqueue.cmake
index 47bf4e83..f22f011b 100644
--- a/cmake/CheckWorkingKqueue.cmake
+++ b/cmake/CheckWorkingKqueue.cmake
@@ -17,7 +17,7 @@ main(int argc, char **argv)
int fd[2];
struct kevent ev;
struct timespec ts;
- char buf[8000];
+ char buf[80000];
if (pipe(fd) == -1)
exit(1);
@@ -27,7 +27,7 @@ main(int argc, char **argv)
while ((n = write(fd[1], buf, sizeof(buf))) == sizeof(buf))
;
- if ((kq = kqueue()) == -1)
+ if ((kq = kqueue()) == -1)
exit(1);
memset(&ev, 0, sizeof(ev));
@@ -49,4 +49,4 @@ main(int argc, char **argv)
exit(0);
}
-" EVENT__HAVE_WORKING_KQUEUE) \ No newline at end of file
+" EVENT__HAVE_WORKING_KQUEUE)