]> git.saurik.com Git - apple/libc.git/blobdiff - gen/FreeBSD/pselect.c.patch
Libc-763.12.tar.gz
[apple/libc.git] / gen / FreeBSD / pselect.c.patch
index 3195aeb04a2b9f8cfb52ebf26ab261ec14b34f54..26ecf91aa50798d4e11b2fb6aa27a1d2184bef94 100644 (file)
@@ -1,6 +1,18 @@
---- pselect.c.orig     Sat Oct 12 09:13:37 2002
-+++ pselect.c  Fri May 16 14:11:39 2003
-@@ -31,8 +31,10 @@
+--- pselect.c.orig     2009-11-07 14:51:38.000000000 -0800
++++ pselect.c  2009-11-07 14:51:39.000000000 -0800
+@@ -27,12 +27,22 @@
+  * SUCH DAMAGE.
+  */
++#if defined(VARIANT_CANCELABLE) || defined(VARIANT_PRE1050)
++#undef __DARWIN_NON_CANCELABLE
++#endif /* VARIANT_CANCELABLE */
++
++#ifdef VARIANT_DARWINEXTSN
++#define _DARWIN_UNLIMITED_SELECT
++#endif /* VARIANT_DARWINEXTSN */
++
+ #include <sys/cdefs.h>
  __FBSDID("$FreeBSD: src/lib/libc/gen/pselect.c,v 1.6 2002/10/12 16:13:37 mike Exp $");
  
  #include "namespace.h"