[vlc-commits] interrupt: use HAVE_EVENTFD where applicable
Rémi Denis-Courmont
git at videolan.org
Mon Jul 6 22:33:16 CEST 2015
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | 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);
More information about the vlc-commits
mailing list