first cut at event port support

This commit is contained in:
Dave Pacheco
2012-03-26 17:58:19 -07:00
committed by Pieter Noordhuis
parent e67d014d9a
commit 2aa1efb8a5
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