summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes2
-rw-r--r--ev_select.c2
2 files changed, 4 insertions, 0 deletions
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