kqueue() BSD fixes

This commit is contained in:
Jan Vidar Krey
2010-01-27 17:50:02 +01:00
parent 41418f21e7
commit ccd1c8f160
3 changed files with 40 additions and 4 deletions

View File

@@ -108,13 +108,11 @@
#include <sys/epoll.h>
#endif
/*
#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
#define USE_KQUEUE
#define HAVE_BACKEND
#include <sys/event.h>
#endif
*/
#ifndef HAVE_BACKEND
#define USE_SELECT