assume EV_SET is portable

This commit is contained in:
Marc Alexander Lehmann 2007-11-23 05:29:16 +00:00
parent 6fbd395171
commit 0075ebdc04
1 changed files with 1 additions and 6 deletions

View File

@ -42,12 +42,7 @@ kqueue_change (EV_P_ int fd, int filter, int flags, int fflags)
++kqueue_changecnt;
array_needsize (struct kevent, kqueue_changes, kqueue_changemax, kqueue_changecnt, EMPTY2);
ke = &kqueue_changes [kqueue_changecnt - 1];
memset (ke, 0, sizeof (struct kevent));
ke->ident = fd;
ke->filter = filter;
ke->flags = flags;
ke->fflags = fflags;
EV_SET (&kqueue_changes [kqueue_changecnt - 1], fd, filter, flags, fflags, 0, 0);
}
#ifndef NOTE_EOF