first cut at event port support

This commit is contained in:
Dave Pacheco
2012-03-26 17:58:19 -07:00
committed by antirez
parent f16d090c72
commit 05da63da0c
3 changed files with 270 additions and 5 deletions

View File

@ -38,6 +38,13 @@
#define HAVE_KQUEUE 1
#endif
#ifdef __sun
#include <sys/feature_tests.h>
#ifdef _DTRACE_VERSION
#define HAVE_EVPORT 1
#endif
#endif
/* Define aof_fsync to fdatasync() in Linux and fsync() for all the rest */
#ifdef __linux__
#define aof_fsync fdatasync