Disable support for kqueue on MacOS/X.
Apparently MacOS/X doesn't support kqueue events on character devices.
This commit is contained in:
parent
818c92e658
commit
8a77df9e28
1 changed files with 4 additions and 0 deletions
|
@ -450,6 +450,10 @@ int main2(int argc, char **argv) {
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_DARWIN
|
||||
setenv("EVENT_NOKQUEUE", "1", 0);
|
||||
#endif
|
||||
|
||||
if(!event_init()) {
|
||||
logger(DEBUG_ALWAYS, LOG_ERR, "Error initializing libevent!");
|
||||
return 1;
|
||||
|
|
Loading…
Reference in a new issue