vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Mon Jul 6 23:32:45 2015 +0300| [bd3e5cd6adcdf8832ab4fba0dd8fd30ca9962846] | committer: Rémi Denis-Courmont
interrupt: use HAVE_EVENTFD where applicable > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bd3e5cd6adcdf8832ab4fba0dd8fd30ca9962846 --- src/misc/interrupt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc/interrupt.c b/src/misc/interrupt.c index 7b25cd7..08d5d81 100644 --- a/src/misc/interrupt.c +++ b/src/misc/interrupt.c @@ -334,7 +334,7 @@ static int vlc_poll_i11e_inner(struct pollfd *restrict fds, unsigned nfds, int canc; /* TODO: cache this */ -# if defined (HAVE_SYS_EVENTFD_H) && defined (EFD_CLOEXEC) +# if defined (HAVE_EVENTFD) && defined (EFD_CLOEXEC) canc = vlc_savecancel(); fd[0] = eventfd(0, EFD_CLOEXEC); vlc_restorecancel(canc); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
