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

Comparing libev/ev.c (file contents):
Revision 1.199 by root, Tue Dec 25 07:05:45 2007 UTC vs.
Revision 1.200 by root, Wed Dec 26 08:06:09 2007 UTC

600 600
601#if EV_SELECT_IS_WINSOCKET 601#if EV_SELECT_IS_WINSOCKET
602 if (events) 602 if (events)
603 { 603 {
604 unsigned long argp; 604 unsigned long argp;
605 #ifdef EV_FD_TO_WIN32_HANDLE
606 anfd->handle = EV_FD_TO_WIN32_HANDLE (fd);
607 #else
605 anfd->handle = _get_osfhandle (fd); 608 anfd->handle = _get_osfhandle (fd);
609 #endif
606 assert (("libev only supports socket fds in this configuration", ioctlsocket (anfd->handle, FIONREAD, &argp) == 0)); 610 assert (("libev only supports socket fds in this configuration", ioctlsocket (anfd->handle, FIONREAD, &argp) == 0));
607 } 611 }
608#endif 612#endif
609 613
610 { 614 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines