]> git.sesse.net Git - vlc/commitdiff
poll() : Define HAVE_POLL on darwin. native poll() on 10.4 and 10.5 is good enough...
authorDerk-Jan Hartman <hartman@veda.student.utwente.nl>
Thu, 7 Aug 2008 19:32:10 +0000 (21:32 +0200)
committerDerk-Jan Hartman <hartman@veda.student.utwente.nl>
Thu, 7 Aug 2008 20:16:47 +0000 (22:16 +0200)
configure.ac

index 718f0e5394584e0805a46f1c4641505b9e5bf588..a810c616b13b30be0637c235bcf50c40237b56d1 100644 (file)
@@ -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