… | |
… | |
978 | |
978 | |
979 | /* epoll embeddability broken on all linux versions up to at least 2.6.23 */ |
979 | /* epoll embeddability broken on all linux versions up to at least 2.6.23 */ |
980 | /* please fix it and tell me how to detect the fix */ |
980 | /* please fix it and tell me how to detect the fix */ |
981 | flags &= ~EVBACKEND_EPOLL; |
981 | flags &= ~EVBACKEND_EPOLL; |
982 | |
982 | |
983 | #ifdef __APPLE__ |
|
|
984 | /* is there anything thats not broken on darwin? */ |
|
|
985 | flags &= ~EVBACKEND_KQUEUE; |
|
|
986 | #endif |
|
|
987 | |
|
|
988 | return flags; |
983 | return flags; |
989 | } |
984 | } |
990 | |
985 | |
991 | unsigned int |
986 | unsigned int |
992 | ev_backend (EV_P) |
987 | ev_backend (EV_P) |