summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2008-06-04 07:42:58 +0000
committerroot <root>2008-06-04 07:42:58 +0000
commitf046dc8658c4fe4a450fb9865816fd8f438e0286 (patch)
tree623e63792d69ca64f60b71e3dabb1bbc8ce3ad0c
parentef3bf83f6e85b999380b61425d9e05c2d3a847f9 (diff)
*** empty log message ***
-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