--- rxvt-unicode/src/ev_cpp.h 2007/11/22 05:40:31 1.4 +++ rxvt-unicode/src/ev_cpp.h 2010/03/16 00:54:46 1.18 @@ -1,11 +1,19 @@ -#define EV_USE_POLL 0 -#define EV_MULTIPLICITY 0 -#define EV_PERIODICS 0 +#define EV_USE_SELECT 1 +#define EV_USE_EPOLL 1 +#define EV_PREPARE_ENABLE 1 +#define EV_IDLE_ENABLE 1 +#define EV_SIGNAL_ENABLE 1 +#define EV_CHILD_ENABLE 1 +#define EV_USE_STDEXCEPT 0 +#define EV_CONFIG_H -#ifndef __NetBSD__ -// disable kqueue on anything but netbsd, as its broken -// on freebsd, openbsd and darwin -# define EV_USE_KQUEUE 0 +#include + +#if ENABLE_FRILLS +# define EV_FEATURES 1+2 +#else +# define EV_FEATURES 0 +# define NDEBUG #endif #include "ev++.h"