|
|
1 | #define EV_USE_SELECT 1 |
1 | #define EV_USE_POLL 0 |
2 | #define EV_USE_EPOLL 1 |
2 | #define EV_MULTIPLICITY 0 |
3 | #define EV_PREPARE_ENABLE 1 |
3 | #define EV_PERIODICS 0 |
4 | #define EV_IDLE_ENABLE 1 |
|
|
5 | #define EV_SIGNAL_ENABLE 1 |
|
|
6 | #define EV_CHILD_ENABLE 1 |
|
|
7 | #define EV_USE_STDEXCEPT 0 |
|
|
8 | #define EV_CONFIG_H <config.h> |
4 | |
9 | |
5 | #ifndef __NetBSD__ |
10 | #include <config.h> |
6 | // disable kqueue on anything but netbsd, as its broken |
11 | |
7 | // on freebsd, openbsd and darwin |
12 | #if ENABLE_FRILLS |
8 | # define EV_USE_KQUEUE 0 |
13 | # define EV_FEATURES 1+2 |
|
|
14 | #else |
|
|
15 | # define EV_FEATURES 0 |
|
|
16 | # define NDEBUG |
9 | #endif |
17 | #endif |
10 | |
18 | |
11 | #include "ev++.h" |
19 | #include "ev++.h" |