From f046dc8658c4fe4a450fb9865816fd8f438e0286 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 4 Jun 2008 07:42:58 +0000 Subject: *** empty log message *** --- Changes | 2 ++ ev_select.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Changes b/Changes index 60258e4..6b99d33 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,7 @@ Revision history for libev, a high-performance and full-featured event loop. + - define NFSBITS to 0 when EV_SELECT_IS_WINSOCKET to make it compile + (reported any analysed by Chris Hulbert). - pass in the write fd set as except fd set under windows. windows is so uncontrollably lame that it requires this. this means that switching off oobinline is not supported (but tcp/ip doesn't diff --git a/ev_select.c b/ev_select.c index 712a113..1303a56 100644 --- a/ev_select.c +++ b/ev_select.c @@ -54,6 +54,8 @@ #if EV_SELECT_IS_WINSOCKET # undef EV_SELECT_USE_FD_SET # define EV_SELECT_USE_FD_SET 1 +# undef NFDBITS +# define NFDBITS 0 #endif #if !EV_SELECT_USE_FD_SET -- cgit v1.2.3