… | |
… | |
95 | # define EV_USE_MONOTONIC 1 |
95 | # define EV_USE_MONOTONIC 1 |
96 | #endif |
96 | #endif |
97 | |
97 | |
98 | #ifndef EV_USE_SELECT |
98 | #ifndef EV_USE_SELECT |
99 | # define EV_USE_SELECT 1 |
99 | # define EV_USE_SELECT 1 |
|
|
100 | # define EV_SELECT_USE_FD_SET 1 |
100 | #endif |
101 | #endif |
101 | |
102 | |
102 | #ifndef EV_USE_POLL |
103 | #ifndef EV_USE_POLL |
103 | # define EV_USE_POLL 0 /* poll is usually slower than select, and not as well tested */ |
104 | # ifdef _WIN32 |
|
|
105 | # define EV_USE_POLL 0 |
|
|
106 | # else |
|
|
107 | # define EV_USE_POLL 1 |
|
|
108 | # endif |
104 | #endif |
109 | #endif |
105 | |
110 | |
106 | #ifndef EV_USE_EPOLL |
111 | #ifndef EV_USE_EPOLL |
107 | # define EV_USE_EPOLL 0 |
112 | # define EV_USE_EPOLL 0 |
108 | #endif |
113 | #endif |