From: Tom Yu Date: Wed, 7 Sep 2011 21:31:48 +0000 (+0000) Subject: Fall back to EV_USE_SELECT X-Git-Tag: krb5-1.10-alpha1~206 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=788402b26ed53558f472b7ba284170533f6a93fd;p=krb5.git 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 --- 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