diff options
author | Tom Yu <tlyu@mit.edu> | 2011-09-07 21:31:48 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 2011-09-07 21:31:48 +0000 |
commit | 788402b26ed53558f472b7ba284170533f6a93fd (patch) | |
tree | 9e8cf04dc612145bd485cebe4ca72ddf9e030355 /src | |
parent | ce0fb6678a4402fa1a41c88e1097e7501f4a4fef (diff) | |
download | krb5-788402b26ed53558f472b7ba284170533f6a93fd.tar.gz krb5-788402b26ed53558f472b7ba284170533f6a93fd.tar.xz krb5-788402b26ed53558f472b7ba284170533f6a93fd.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/util/k5ev/verto-k5ev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/k5ev/verto-k5ev.c b/src/util/k5ev/verto-k5ev.c index d244484c58..fce4de8d5d 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 |