[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 10:16:58 CEST 2009


vlc | branch: master | JP Dinger <jpd at videolan.org> | Tue Oct 13 09:17:45 2009 +0200| [7308685e57acde006cd088270e2a9e2bf0cf057b] | committer: JP Dinger 

Replace the last of the HAVE_EVENTFDs with HAVE_SYS_EVENTFD_H.
(cherry picked from commit b3d9ea87aa40d43f081b8fcecd7d0126e6865196)

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

 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 18f76fc..3d5a13e 100644
--- a/src/misc/objects.c
+++ b/src/misc/objects.c
@@ -391,7 +391,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