Browse Source

[core] fix compile error on Solaris (fixes #2959)

(thx pyhalov)

x-ref:
  "Release 1.4.54 does not compile on an Open Solaris clone"
  https://redmine.lighttpd.net/issues/2959
personal/stbuehler/ci-build
Glenn Strauss 3 years ago
parent
commit
32a8f0b3b5
  1. 2
      src/fdevent_solaris_port.c

2
src/fdevent_solaris_port.c

@ -20,7 +20,7 @@ static int fdevent_solaris_port_event_del(fdevents *ev, fdnode *fdn) {
}
static int fdevent_solaris_port_event_set(fdevents *ev, fdnode *fdn, int events) {
int fd = fdn->fdn_ndx = fdn->fd;
int fd = fdn->fde_ndx = fdn->fd;
intptr_t ud = events & (POLLIN|POLLOUT);
return port_associate(ev->port_fd,PORT_SOURCE_FD,fd,(int)ud,(void*)ud);
}

Loading…
Cancel
Save