]> git.saurik.com Git - redis.git/blobdiff - ae.c
Added support for kqueue.
[redis.git] / ae.c
diff --git a/ae.c b/ae.c
index 4f12e4109e8e11f8cb70ac3203c802bfbc9a7a3a..048fa51c4ee50ea01eb503bb9fd1805bb99e0c05 100644 (file)
--- a/ae.c
+++ b/ae.c
 #ifdef HAVE_EPOLL
 #include "ae_epoll.c"
 #else
-#include "ae_select.c"
+    #ifdef HAVE_KQUEUE
+    #include "ae_kqueue.c"
+    #else
+    #include "ae_select.c"
+    #endif
 #endif
 
 aeEventLoop *aeCreateEventLoop(void) {