strace/xlat/timerfdflags.in
Dmitry V. Levin 12cca59aed Fix build on systems that lack O_CLOEXEC definition
* xlat/efd_flags.in: Check that O_CLOEXEC is defined.
* xlat/epollflags.in: Likewise.
* xlat/sfd_flags.in: Likewise.
* xlat/timerfdflags.in: Fix O_CLOEXEC check.
2015-08-25 10:05:08 +00:00

9 lines
230 B
Plaintext

/* The Linux userspace headers didn't export these for a long time. */
TFD_TIMER_ABSTIME (1 << 0)
TFD_TIMER_CANCEL_ON_SET (1 << 1)
#if defined TFD_CLOEXEC || defined O_CLOEXEC
TFD_CLOEXEC O_CLOEXEC
#endif
TFD_NONBLOCK O_NONBLOCK