diff options
author | root <root> | 2007-11-12 00:39:45 +0000 |
---|---|---|
committer | root <root> | 2007-11-12 00:39:45 +0000 |
commit | f80233888429b82d548aed2fca59cd324e1b6610 (patch) | |
tree | e474ac61e59953d9bb1ee840618f04e61da7e9e8 /ev.c | |
parent | 2dff0867c6069c41ede598cd78bb2d5223fde025 (diff) |
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r-- | ev.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |