1/* Generated by ./xlat/gen.sh from ./xlat/sigpoll_codes.in; do not edit. */ 2#if !(defined(POLL_IN) || (defined(HAVE_DECL_POLL_IN) && HAVE_DECL_POLL_IN)) 3# define POLL_IN 1 4#endif 5#if !(defined(POLL_OUT) || (defined(HAVE_DECL_POLL_OUT) && HAVE_DECL_POLL_OUT)) 6# define POLL_OUT 2 7#endif 8#if !(defined(POLL_MSG) || (defined(HAVE_DECL_POLL_MSG) && HAVE_DECL_POLL_MSG)) 9# define POLL_MSG 3 10#endif 11#if !(defined(POLL_ERR) || (defined(HAVE_DECL_POLL_ERR) && HAVE_DECL_POLL_ERR)) 12# define POLL_ERR 4 13#endif 14#if !(defined(POLL_PRI) || (defined(HAVE_DECL_POLL_PRI) && HAVE_DECL_POLL_PRI)) 15# define POLL_PRI 5 16#endif 17#if !(defined(POLL_HUP) || (defined(HAVE_DECL_POLL_HUP) && HAVE_DECL_POLL_HUP)) 18# define POLL_HUP 6 19#endif 20 21#ifdef IN_MPERS 22 23extern const struct xlat sigpoll_codes[]; 24 25#else 26 27# if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) 28static 29# endif 30const struct xlat sigpoll_codes[] = { 31 XLAT(POLL_IN), 32 XLAT(POLL_OUT), 33 XLAT(POLL_MSG), 34 XLAT(POLL_ERR), 35 XLAT(POLL_PRI), 36 XLAT(POLL_HUP), 37 XLAT_END 38}; 39 40#endif /* !IN_MPERS */ 41