cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH] Enable poll on darwin13

From: Daniel Johnson <daniel.johnson31_at_gmail.com>
Date: Mon, 5 May 2014 23:08:26 -0400

Poll has long been broken on Mac OS X. Starting with 10.9 (darwin13) it now works correctly so this patch enables it there.

diff --git a/m4/curl-functions.m4 b/m4/curl-functions.m4
index fdf004b..0d65421 100644
--- a/m4/curl-functions.m4
+++ b/m4/curl-functions.m4
@@ -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

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2014-05-06