fix(build): Remove disabled libs

This commit is contained in:
Michael Carlberg
2016-11-03 19:01:45 +01:00
parent 37ad86fa1c
commit d74dd7f3ef
4 changed files with 23 additions and 3 deletions

View File

@ -109,9 +109,10 @@ namespace io_util {
return poll(fd, POLLOUT, timeout_ms);
}
void interrupt_read(int write_fd) {
bool interrupt_read(int write_fd) {
char end[1] = {'\n'};
(void)::write(write_fd, end, 1);
size_t bytes = ::write(write_fd, end, 1);
return bytes > 0;
}
}