--- rxvt-unicode/src/ev_cpp.h 2009/09/04 15:40:12 1.17 +++ rxvt-unicode/src/ev_cpp.h 2020/01/22 14:14:09 1.26 @@ -1,22 +1,26 @@ -#define EV_MINIMAL 2 -#define EV_USE_POLL 0 -#define EV_USE_INOTIFY 0 -#define EV_USE_EVENTFD 0 -#define EV_USE_SIGNALFD 0 -#define EV_MULTIPLICITY 0 -#define EV_PERIODIC_ENABLE 0 -#define EV_STAT_ENABLE 0 -#define EV_FORK_ENABLE 0 -#define EV_ASYNC_ENABLE 0 -#define EV_EMBED_ENABLE 0 -#define EV_CONFIG_H -#define EV_MINPRI 0 -#define EV_MAXPRI 0 +#define ECB_NO_THREADS 1 + +#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 +#if ENABLE_FRILLS +# define EV_FEATURES 1 | 2 +#else +# define EV_FEATURES 0 # define NDEBUG #endif