1
0
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:
llmII 2021-09-05 10:45:45 -05:00
parent d40133dc72
commit 981f03fef3
No known key found for this signature in database
GPG Key ID: E3AD2E259F58A9A0
2 changed files with 0 additions and 3 deletions

View File

@ -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);

View File

@ -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