Skip to content

Commit

Permalink
Fix building on macOS in preparation of v0.9.8 release
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfcw committed Aug 22, 2019
1 parent 5f033fe commit 13748dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libfaketime.c
Original file line number Diff line number Diff line change
Expand Up @@ -1303,6 +1303,7 @@ int ppoll(struct pollfd *fds, nfds_t nfds,
return ret;
}

#ifdef __linux__
/*
* Faked epoll_wait()
*/
Expand Down Expand Up @@ -1356,6 +1357,7 @@ int epoll_pwait(int epfd, struct epoll_event *events, int maxevents, int timeout
DONT_FAKE_TIME(ret = (*real_epoll_pwait)(epfd, events, maxevents, real_timeout, sigmask));
return ret;
}
#endif

/*
* Faked poll()
Expand Down

0 comments on commit 13748dd

Please sign in to comment.