summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorroot <root>2010-07-09 20:55:14 +0000
committerroot <root>2010-07-09 20:55:14 +0000
commit76c13de993689fd0acf24f1cd2a938896fada05d (patch)
tree847461e0678c2ae2c10b976ca8b59c9fb69cf4dd /ev.c
parent35df88d42868a6930d8aa0c1a3424a358c2fd7dd (diff)
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c8
1 files changed, 8 insertions, 0 deletions
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 */