--- rxvt-unicode/src/ev_cpp.h 2007/11/22 05:40:31 1.4 +++ rxvt-unicode/src/ev_cpp.h 2020/01/22 14:14:09 1.26 @@ -1,11 +1,27 @@ -#define EV_USE_POLL 0 -#define EV_MULTIPLICITY 0 -#define EV_PERIODICS 0 +#define ECB_NO_THREADS 1 -#ifndef __NetBSD__ -// disable kqueue on anything but netbsd, as its broken -// on freebsd, openbsd and darwin -# define EV_USE_KQUEUE 0 +#define EV_COMPAT3 0 +#define EV_USE_SELECT 1 +#define EV_USE_EPOLL 1 +#define EV_USE_KQUEUE 1 +#define EV_USE_PORT 1 +//#define EV_USE_LINUXAIO 1 +//#define EV_USE_IOURING 1 +//#define EV_USE_TIMERFD 0 +#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 + +#include + +#if ENABLE_FRILLS +# define EV_FEATURES 1 | 2 +#else +# define EV_FEATURES 0 +# define NDEBUG #endif #include "ev++.h"