… | |
… | |
1507 | #ifdef __APPLE__ |
1507 | #ifdef __APPLE__ |
1508 | /* only select works correctly on that "unix-certified" platform */ |
1508 | /* only select works correctly on that "unix-certified" platform */ |
1509 | flags &= ~EVBACKEND_KQUEUE; /* horribly broken, even for sockets */ |
1509 | flags &= ~EVBACKEND_KQUEUE; /* horribly broken, even for sockets */ |
1510 | flags &= ~EVBACKEND_POLL; /* poll is based on kqueue from 10.5 onwards */ |
1510 | flags &= ~EVBACKEND_POLL; /* poll is based on kqueue from 10.5 onwards */ |
1511 | #endif |
1511 | #endif |
|
|
1512 | #ifdef __FreeBSD__ |
|
|
1513 | flags &= ~EVBACKEND_POLL; /* poll return value is unusable (http://forums.freebsd.org/archive/index.php/t-10270.html) */ |
|
|
1514 | #endif |
1512 | |
1515 | |
1513 | return flags; |
1516 | return flags; |
1514 | } |
1517 | } |
1515 | |
1518 | |
1516 | unsigned int |
1519 | unsigned int |