mirror of
https://github.com/janet-lang/janet
synced 2024-12-01 04:19:55 +00:00
Remove comments regarding NetBSD breakage
Since those no longer should apply, don't keep them around.
This commit is contained in:
parent
d40133dc72
commit
981f03fef3
@ -1609,8 +1609,6 @@ JanetListenerState *janet_listen(JanetStream *stream, JanetListener behavior, in
|
||||
JanetListenerState *state = janet_listen_impl(stream, behavior, mask, size, user);
|
||||
struct kevent kev[2];
|
||||
|
||||
/* NOTE: NetBSD uses a different type for udata, might not work there or
|
||||
* may warn/fail to compile (see wahern/cqueues)! */
|
||||
int length = 0;
|
||||
if (state->stream->_mask & JANET_ASYNC_LISTEN_READ) {
|
||||
EV_SETx(&kev[length], stream->handle, EVFILT_READ, EV_ADD | EV_ENABLE, 0, 0, stream);
|
||||
|
@ -198,7 +198,6 @@ extern "C" {
|
||||
#define JANET_EV_EPOLL
|
||||
#endif
|
||||
|
||||
/* TODO: Probably breaks NetBSD, might need help here. */
|
||||
#if defined(JANET_BSD) && !defined(JANET_EV_NO_KQUEUE)
|
||||
#define JANET_EV_KQUEUE
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user