[vlc-devel] commit: Replace the last of the HAVE_EVENTFDs with HAVE_SYS_EVENTFD_H. ( JP Dinger )
git version control
git at videolan.org
Tue Oct 13 09:18:31 CEST 2009
vlc | branch: 1.0-bugfix | JP Dinger <jpd at videolan.org> | Tue Oct 13 09:17:45 2009 +0200| [b3d9ea87aa40d43f081b8fcecd7d0126e6865196] | committer: JP Dinger
Replace the last of the HAVE_EVENTFDs with HAVE_SYS_EVENTFD_H.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b3d9ea87aa40d43f081b8fcecd7d0126e6865196
---
src/misc/objects.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/misc/objects.c b/src/misc/objects.c
index c14c033..ec1d0fb 100644
--- a/src/misc/objects.c
+++ b/src/misc/objects.c
@@ -381,7 +381,7 @@ int vlc_object_waitpipe( vlc_object_t *obj )
/* This can only ever happen if someone killed us without locking: */
assert (internals->pipes[1] == -1);
-#ifdef HAVE_EVENTFD
+#if defined (HAVE_SYS_EVENTFD_H)
internals->pipes[0] = internals->pipes[1] = eventfd (0, 0);
if (internals->pipes[0] == -1)
#endif
More information about the vlc-devel
mailing list