libev-3.9 on Windows
Michael Lenaghan
michaell at dazzit.com
Wed Jan 6 18:24:03 CET 2010
I couldn't find any previous reports of this in the archives;
apologies if it's a repeat. (And perhaps some of these were
intentional; they just caught my eye in a quick scan of the code.)
510c510
< # define EV_WIN32_HANDLE_TO_FD(handle) _open_osfhandle (fd, 0)
---
> # define EV_WIN32_HANDLE_TO_FD(handle) _open_osfhandle (handle, 0)
969c969
< return _get_osfhandle (fd) != -1;
---
> return EV_FD_TO_WIN32_HANDLE (fd) != -1;
1184c1184
< ioctlsocket (_get_osfhandle (fd), FIONBIO, &arg);
---
> ioctlsocket (EV_FD_TO_WIN32_HANDLE (fd), FIONBIO, &arg);
1299c1299
< #if _WIN32
---
> #ifdef _WIN32
2752c2752
< # if _WIN32
---
> # ifdef _WIN32
More information about the libev
mailing list