26 lines
680 B
C
26 lines
680 B
C
/* Generated by ./xlat/gen.sh from ./xlat/epollctls.in; do not edit. */
|
|
#if !(defined(EPOLL_CTL_ADD) || (defined(HAVE_DECL_EPOLL_CTL_ADD) && HAVE_DECL_EPOLL_CTL_ADD))
|
|
# define EPOLL_CTL_ADD 1
|
|
#endif
|
|
#if !(defined(EPOLL_CTL_DEL) || (defined(HAVE_DECL_EPOLL_CTL_DEL) && HAVE_DECL_EPOLL_CTL_DEL))
|
|
# define EPOLL_CTL_DEL 2
|
|
#endif
|
|
#if !(defined(EPOLL_CTL_MOD) || (defined(HAVE_DECL_EPOLL_CTL_MOD) && HAVE_DECL_EPOLL_CTL_MOD))
|
|
# define EPOLL_CTL_MOD 3
|
|
#endif
|
|
|
|
#ifdef IN_MPERS
|
|
|
|
# error static const struct xlat epollctls in mpers mode
|
|
|
|
#else
|
|
|
|
static
|
|
const struct xlat epollctls[] = {
|
|
XLAT(EPOLL_CTL_ADD),
|
|
XLAT(EPOLL_CTL_DEL),
|
|
XLAT(EPOLL_CTL_MOD),
|
|
XLAT_END
|
|
};
|
|
|
|
#endif /* !IN_MPERS */
|