summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorroot <root>2007-11-12 00:39:45 +0000
committerroot <root>2007-11-12 00:39:45 +0000
commitf80233888429b82d548aed2fca59cd324e1b6610 (patch)
treee474ac61e59953d9bb1ee840618f04e61da7e9e8 /ev.c
parent2dff0867c6069c41ede598cd78bb2d5223fde025 (diff)
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/ev.c b/ev.c
index 89c0929..1aafbec 100644
--- a/ev.c
+++ b/ev.c
@@ -97,10 +97,15 @@ extern "C" {
#ifndef EV_USE_SELECT
# define EV_USE_SELECT 1
+# define EV_SELECT_USE_FD_SET 1
#endif
#ifndef EV_USE_POLL
-# define EV_USE_POLL 0 /* poll is usually slower than select, and not as well tested */
+# ifdef _WIN32
+# define EV_USE_POLL 0
+# else
+# define EV_USE_POLL 1
+# endif
#endif
#ifndef EV_USE_EPOLL