]> git.saurik.com Git - redis.git/blobdiff - src/ae.c
first cut at event port support
[redis.git] / src / ae.c
index 668277a78087c102627b15107c35f7876d0035c0..c58c4b74bcc1d530ff24f927ceb1e80018e89188 100644 (file)
--- a/src/ae.c
+++ b/src/ae.c
 
 /* Include the best multiplexing layer supported by this system.
  * The following should be ordered by performances, descending. */
-#ifdef HAVE_EPOLL
-#include "ae_epoll.c"
+#ifdef HAVE_EVPORT
+#include "ae_evport.c"
 #else
-    #ifdef HAVE_KQUEUE
-    #include "ae_kqueue.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
 #endif