[vlc-devel] commit: objects: check for HAVE_SYS_EVENTFD_H it is more reliable then HAVE_EVENTFD ( Jean-Paul Saman )

git version control git at videolan.org
Fri Jan 30 13:44:24 CET 2009


vlc | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Mon Jan 26 09:06:59 2009 +0100| [a98b4976264b99e2a514712b4bc8870cc79b4e70] | committer: Jean-Paul Saman 

objects: check for HAVE_SYS_EVENTFD_H it is more reliable then HAVE_EVENTFD

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a98b4976264b99e2a514712b4bc8870cc79b4e70
---

 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 8adf9d7..20011cb 100644
--- a/src/misc/objects.c
+++ b/src/misc/objects.c
@@ -401,7 +401,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
+#ifdef 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