Sign in
coral
/
bluez-imx
/
refs/tags/utils-3.12
/
.
/
common
/
ppoll.h
blob: d90969014417a70406cb0ba8f09fa926c90f2094 [
file
] [
log
] [
blame
]
#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
);
}