[vlc-devel] commit: poll() : Define HAVE_POLL on darwin. native poll() on 10.4 and 10. 5 is good enough for usage in VLC. I tested both the rc interface and the SAP module on a G4 with Mac OS X 10 .4 (Derk-Jan Hartman )

git version control git at videolan.org
Thu Aug 7 22:16:33 CEST 2008


vlc | branch: master | Derk-Jan Hartman <hartman at veda.student.utwente.nl> | Thu Aug  7 21:32:10 2008 +0200| [baa0d1d8affa49fdf1546e8e9ed5d0382a7c96cf] | committer: Derk-Jan Hartman 

poll() : Define HAVE_POLL on darwin. native poll() on 10.4 and 10.5 is good enough for usage in VLC. I tested both the rc interface and the SAP module on a G4 with Mac OS X 10.4

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

 configure.ac |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index 718f0e5..a810c61 100644
--- a/configure.ac
+++ b/configure.ac
@@ -810,10 +810,8 @@ AC_CHECK_TYPE(ssize_t,, [
   AC_DEFINE(ssize_t, int)
 ])
 
-dnl don't attemp to use poll on darwin, it can't poll a tty. select will do a better job.
-if test "${SYS}" != "darwin"; then
-  AC_SEARCH_LIBS(poll, [poll], [AC_DEFINE(HAVE_POLL, 1, [Define to 1 if the OS is usabl... err, has poll().])])
-fi
+dnl Check for poll
+AC_SEARCH_LIBS(poll, [poll], [AC_DEFINE(HAVE_POLL, 1, [Define to 1 if the OS is usabl... err, has poll().])])
 
 dnl Check for dirent
 need_dirent=false




More information about the vlc-devel mailing list