darwin: xnu doesn't support poll on ttys on the master side.
<rdar://problem/7360546> Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
This commit is contained in:
parent
1e746fd89a
commit
58c96da928
|
@ -121,9 +121,8 @@ AC_PREREQ([2.59c], [], [AC_SUBST([htmldir], [m4_ifset([AC_PACKAGE_TARNAME],
|
||||||
XCB_CHECK_DOXYGEN()
|
XCB_CHECK_DOXYGEN()
|
||||||
|
|
||||||
case $host_os in
|
case $host_os in
|
||||||
# darwin has poll() but can't be used to poll character devices
|
# darwin has poll() but can't be used to poll character devices (atleast through SnowLeopard)
|
||||||
# darwin10 (SnowLeopard) should be tested as well once released
|
darwin*)
|
||||||
darwin7*) ;; darwin8*) ;; darwin9*) ;;
|
|
||||||
*)
|
*)
|
||||||
AC_CHECK_FUNC(poll, [AC_DEFINE(USE_POLL, 1, [poll() function is available])], )
|
AC_CHECK_FUNC(poll, [AC_DEFINE(USE_POLL, 1, [poll() function is available])], )
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue