mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[select] restrict_fds was called only with LIBEVENT and POLL
This commit is contained in:
parent
21b8cf37d9
commit
d56ad7ceb0
@ -163,6 +163,10 @@ check_bottom_halves(void)
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef USE_LIBEVENT
|
||||
|
||||
#if defined(USE_POLL)
|
||||
|
||||
static void
|
||||
restrict_fds(void)
|
||||
{
|
||||
@ -182,8 +186,7 @@ restrict_fds(void)
|
||||
skip_limit:;
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef USE_LIBEVENT
|
||||
#endif /* USE_POLL */
|
||||
|
||||
int event_enabled = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user