From 788402b26ed53558f472b7ba284170533f6a93fd Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Wed, 7 Sep 2011 21:31:48 +0000 Subject: [PATCH] Fall back to EV_USE_SELECT ev.c explicitly disables poll() on Mac and FreeBSD, which left our standalone version without any working back ends on Mac OS X, for example. Fall back to using select() on these platforms. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25169 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/k5ev/verto-k5ev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/k5ev/verto-k5ev.c b/src/util/k5ev/verto-k5ev.c index d244484c5..fce4de8d5 100644 --- a/src/util/k5ev/verto-k5ev.c +++ b/src/util/k5ev/verto-k5ev.c @@ -39,9 +39,9 @@ #define EV_FEATURES 0x5f /* Everything but back ends */ #ifdef HAVE_POLL_H #define EV_USE_POLL 1 -#else -#define EV_USE_SELECT 1 #endif +/* ev.c explicitly disables poll() on Mac or FreeBSD; fall back to select(). */ +#define EV_USE_SELECT 1 #include "ev.c" static void -- 2.26.2