Enable poll on darwin13
authorDaniel Johnson <daniel.johnson31@gmail.com>
Tue, 6 May 2014 03:08:26 +0000 (05:08 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 6 May 2014 06:31:10 +0000 (08:31 +0200)
Poll has long been broken on Mac OS X. Starting with 10.9 (darwin13) it
now works correctly so this patch enables it there.

m4/curl-functions.m4

index fdf004b..0d65421 100644 (file)
@@ -4729,7 +4729,7 @@ AC_DEFUN([CURL_CHECK_FUNC_POLL], [
   tst_allow_poll="unknown"
   #
   case $host_os in
-    darwin*|interix*)
+    darwin[[123456789]].*|darwin10.*|darwin11.*|darwin12.*|interix*)
       dnl poll() does not work on these platforms
       dnl Interix: "does provide poll(), but the implementing developer must
       dnl have been in a bad mood, because poll() only works on the /proc