blob: d90969014417a70406cb0ba8f09fa926c90f2094 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#ifdef ppoll
#undef ppoll
#endif
#define ppoll compat_ppoll
static inline int compat_ppoll(struct pollfd *fds, nfds_t nfds,
const struct timespec *timeout, const sigset_t *sigmask)
{
return poll(fds, nfds, timeout ? timeout->tv_sec * 1000 : 500);
}
|