Commit baa0d1d8 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

poll() : Define HAVE_POLL on darwin. native poll() on 10.4 and 10.5 is good...

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
parent ce27eace
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment