… | |
… | |
1270 | /* kqueue is borked on everything but netbsd apparently */ |
1270 | /* kqueue is borked on everything but netbsd apparently */ |
1271 | /* it usually doesn't work correctly on anything but sockets and pipes */ |
1271 | /* it usually doesn't work correctly on anything but sockets and pipes */ |
1272 | flags &= ~EVBACKEND_KQUEUE; |
1272 | flags &= ~EVBACKEND_KQUEUE; |
1273 | #endif |
1273 | #endif |
1274 | #ifdef __APPLE__ |
1274 | #ifdef __APPLE__ |
1275 | // flags &= ~EVBACKEND_KQUEUE; for documentation |
1275 | // flags &= ~EVBACKEND_KQUEUE & ~EVBACKEND_POLL; for documentation |
1276 | flags &= ~EVBACKEND_POLL; |
1276 | flags &= ~EVBACKEND_SELECT; |
1277 | #endif |
1277 | #endif |
1278 | |
1278 | |
1279 | return flags; |
1279 | return flags; |
1280 | } |
1280 | } |
1281 | |
1281 | |