summaryrefslogtreecommitdiff
path: root/src/ae.c
diff options
context:
space:
mode:
authorDave Pacheco <dap@joyent.com>2012-03-26 17:58:19 -0700
committerantirez <antirez@gmail.com>2012-05-15 11:18:54 +0200
commit05da63da0c391d4cca46cd32dbff7bc8a5266cb7 (patch)
tree27d2d123f70d5acfc84f251d603eddfa1bb7cbfd /src/ae.c
parentf16d090c728dd23ce23b0d2b316c02d34bf9b0da (diff)
downloadredis-05da63da0c391d4cca46cd32dbff7bc8a5266cb7.tar.gz
first cut at event port support
Diffstat (limited to 'src/ae.c')
-rw-r--r--src/ae.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/ae.c b/src/ae.c
index 668277a78..c58c4b74b 100644
--- a/src/ae.c
+++ b/src/ae.c
@@ -44,13 +44,17 @@
/* 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