Browse Source

did not compile on BSD after SIGIO fix

master
Felix von Leitner 18 years ago
parent
commit
f72b2bac62
  1. 2
      io/io_canread.c
  2. 2
      io/io_canwrite.c

2
io/io_canread.c

@ -31,8 +31,8 @@ int64 io_canread() {
e->next_read=alt_firstread;
alt_firstread=r;
debug_printf(("io_canread: enqueue %ld in alt read queue (next is %ld)\n",alt_firstread,e->next_read));
#endif
if (io_waitmode!=_SIGIO)
#endif
e->canread=0;
return r;
}

2
io/io_canwrite.c

@ -31,8 +31,8 @@ int64 io_canwrite() {
e->next_write=alt_firstwrite;
alt_firstwrite=r;
debug_printf(("io_canwrite: enqueue %ld in alt write queue (next is %ld)\n",alt_firstwrite,e->next_write));
#endif
if (io_waitmode!=_SIGIO)
#endif
e->canwrite=0;
return r;
}

Loading…
Cancel
Save