From 76c13de993689fd0acf24f1cd2a938896fada05d Mon Sep 17 00:00:00 2001 From: root Date: Fri, 9 Jul 2010 20:55:14 +0000 Subject: *** empty log message *** --- Changes | 1 + ev.c | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/Changes b/Changes index 8fa192e..2bb3a04 100644 --- a/Changes +++ b/Changes @@ -40,6 +40,7 @@ TODO: section watcher states/lifetime - rename ev_loop_count/depth/verify. - switch to two-digit minor version. - work around an apparent gentoo compiler bug. + - define _DARWIN_UNLIMITED_SELECT. just so. 3.9 Thu Dec 31 07:59:59 CET 2009 - signalfd is no longer used by default and has to be requested diff --git a/ev.c b/ev.c index 602a882..283167f 100644 --- a/ev.c +++ b/ev.c @@ -198,6 +198,14 @@ extern "C" { # undef EV_AVOID_STDIO #endif +/* OS X, in its infinite idiocy, actually HARDCODES + * a limit of 1024 into their select. Where people have brains, + * OS X engineers apparently have a vacuum. Or maybe they were + * ordered to have a vacuum, or they do anything for money. + * This might help. Or not. + */ +#define _DARWIN_UNLIMITED_SELECT 1 + /* this block tries to deduce configuration from header-defined symbols and defaults */ /* try to deduce the maximum number of signals on this platform */ -- cgit v1.2.3