ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.c
(Generate patch)

Comparing libev/ev.c (file contents):
Revision 1.341 by root, Tue Mar 16 20:48:29 2010 UTC vs.
Revision 1.342 by root, Mon Mar 29 12:40:57 2010 UTC

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
1516unsigned int 1519unsigned int

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines