Commit d5a3959d authored by Nils Goroll's avatar Nils Goroll Committed by Pål Hermunn Johansen

Current SmartOS also has epoll(), so we need to prefer ports ...

... in order to actually use it by default
parent ad32407e
......@@ -248,11 +248,11 @@ usage(void)
#if defined(HAVE_KQUEUE)
fprintf(stderr, FMT, "", " -W kqueue");
#endif
#if defined(HAVE_EPOLL_CTL)
fprintf(stderr, FMT, "", " -W epoll");
#endif
#if defined(HAVE_PORT_CREATE)
fprintf(stderr, FMT, "", " -W ports");
#endif
#if defined(HAVE_EPOLL_CTL)
fprintf(stderr, FMT, "", " -W epoll");
#endif
fprintf(stderr, FMT, "", " -W poll");
......
......@@ -40,11 +40,11 @@ static const struct choice waiter_choice[] = {
#if defined(HAVE_KQUEUE)
{ "kqueue", &waiter_kqueue },
#endif
#if defined(HAVE_EPOLL_CTL)
{ "epoll", &waiter_epoll },
#endif
#if defined(HAVE_PORT_CREATE)
{ "ports", &waiter_ports },
#endif
#if defined(HAVE_EPOLL_CTL)
{ "epoll", &waiter_epoll },
#endif
{ "poll", &waiter_poll },
{ NULL, NULL}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment