Added support for kqueue.

This commit is contained in:
Harish Mallipeddi
2009-11-28 19:16:21 +05:30
parent 0f151ef1a0
commit f3053eb0eb
3 changed files with 99 additions and 1 deletions

6
ae.c
View File

@@ -45,7 +45,11 @@
#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) {