summaryrefslogtreecommitdiff
path: root/ev_win32.c
diff options
context:
space:
mode:
authorroot <root>2009-08-19 23:44:51 +0000
committerroot <root>2009-08-19 23:44:51 +0000
commit7e01fd517f7b34988d3438bdde655b75c389de2d (patch)
treea3d40ab1d554899ad553eb38c35d59d0866b01cc /ev_win32.c
parent72dedbe4624c9dfb3b928a1c3e2d4d5c23bb144c (diff)
*** empty log message ***
Diffstat (limited to 'ev_win32.c')
-rw-r--r--ev_win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ev_win32.c b/ev_win32.c
index a048c0b..ee60ae6 100644
--- a/ev_win32.c
+++ b/ev_win32.c
@@ -111,8 +111,8 @@ ev_pipe (int filedes [2])
closesocket (listener);
#if EV_SELECT_IS_WINSOCKET
- filedes [0] = _open_osfhandle (sock [0], 0);
- filedes [1] = _open_osfhandle (sock [1], 0);
+ filedes [0] = EV_WIN32_HANDLE_TO_FD (sock [0]);
+ filedes [1] = EV_WIN32_HANDLE_TO_FD (sock [1]);
#else
/* when select isn't winsocket, we also expect socket, connect, accept etc.
* to work on fds */