From: Jeremy Huddleston Date: Sat, 12 Dec 2009 01:15:16 +0000 (-0800) Subject: darwin: xnu doesn't support poll on ttys on the master side. X-Git-Tag: 1.6~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=58c96da9283d3c2f65c818bd952f611ec4e4dad0;p=platform%2Fupstream%2Flibxcb.git darwin: xnu doesn't support poll on ttys on the master side. Signed-off-by: Jeremy Huddleston --- diff --git a/configure.ac b/configure.ac index f535a06..67d5a95 100644 --- a/configure.ac +++ b/configure.ac @@ -121,9 +121,8 @@ AC_PREREQ([2.59c], [], [AC_SUBST([htmldir], [m4_ifset([AC_PACKAGE_TARNAME], XCB_CHECK_DOXYGEN() case $host_os in - # darwin has poll() but can't be used to poll character devices - # darwin10 (SnowLeopard) should be tested as well once released - darwin7*) ;; darwin8*) ;; darwin9*) ;; + # darwin has poll() but can't be used to poll character devices (atleast through SnowLeopard) + darwin*) *) AC_CHECK_FUNC(poll, [AC_DEFINE(USE_POLL, 1, [poll() function is available])], ) ;;