1 /* Generated by ./xlat/gen.sh from ./xlat/epollctls.in; do not edit. */ 2 #if !(defined(EPOLL_CTL_ADD) || (defined(HAVE_DECL_EPOLL_CTL_ADD) && HAVE_DECL_EPOLL_CTL_ADD)) 3 # define EPOLL_CTL_ADD 1 4 #endif 5 #if !(defined(EPOLL_CTL_DEL) || (defined(HAVE_DECL_EPOLL_CTL_DEL) && HAVE_DECL_EPOLL_CTL_DEL)) 6 # define EPOLL_CTL_DEL 2 7 #endif 8 #if !(defined(EPOLL_CTL_MOD) || (defined(HAVE_DECL_EPOLL_CTL_MOD) && HAVE_DECL_EPOLL_CTL_MOD)) 9 # define EPOLL_CTL_MOD 3 10 #endif 11 12 #ifdef IN_MPERS 13 14 # error static const struct xlat epollctls in mpers mode 15 16 #else 17 18 static 19 const struct xlat epollctls[] = { 20 XLAT(EPOLL_CTL_ADD), 21 XLAT(EPOLL_CTL_DEL), 22 XLAT(EPOLL_CTL_MOD), 23 XLAT_END 24 }; 25 26 #endif /* !IN_MPERS */ 27