/* Generated by ./xlat/gen.sh from ./xlat/kcmp_types.in; do not edit. */

#include "gcc_compat.h"
#include "static_assert.h"

#if defined(KCMP_FILE) || (defined(HAVE_DECL_KCMP_FILE) && HAVE_DECL_KCMP_FILE)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((KCMP_FILE) == (0), "KCMP_FILE != 0");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define KCMP_FILE 0
#endif
#if defined(KCMP_VM) || (defined(HAVE_DECL_KCMP_VM) && HAVE_DECL_KCMP_VM)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((KCMP_VM) == (1), "KCMP_VM != 1");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define KCMP_VM 1
#endif
#if defined(KCMP_FILES) || (defined(HAVE_DECL_KCMP_FILES) && HAVE_DECL_KCMP_FILES)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((KCMP_FILES) == (2), "KCMP_FILES != 2");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define KCMP_FILES 2
#endif
#if defined(KCMP_FS) || (defined(HAVE_DECL_KCMP_FS) && HAVE_DECL_KCMP_FS)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((KCMP_FS) == (3), "KCMP_FS != 3");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define KCMP_FS 3
#endif
#if defined(KCMP_SIGHAND) || (defined(HAVE_DECL_KCMP_SIGHAND) && HAVE_DECL_KCMP_SIGHAND)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((KCMP_SIGHAND) == (4), "KCMP_SIGHAND != 4");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define KCMP_SIGHAND 4
#endif
#if defined(KCMP_IO) || (defined(HAVE_DECL_KCMP_IO) && HAVE_DECL_KCMP_IO)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((KCMP_IO) == (5), "KCMP_IO != 5");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define KCMP_IO 5
#endif
#if defined(KCMP_SYSVSEM) || (defined(HAVE_DECL_KCMP_SYSVSEM) && HAVE_DECL_KCMP_SYSVSEM)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((KCMP_SYSVSEM) == (6), "KCMP_SYSVSEM != 6");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define KCMP_SYSVSEM 6
#endif
#if defined(KCMP_EPOLL_TFD) || (defined(HAVE_DECL_KCMP_EPOLL_TFD) && HAVE_DECL_KCMP_EPOLL_TFD)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((KCMP_EPOLL_TFD) == (7), "KCMP_EPOLL_TFD != 7");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define KCMP_EPOLL_TFD 7
#endif

#ifndef XLAT_MACROS_ONLY

# ifdef IN_MPERS

#  error static const struct xlat kcmp_types in mpers mode

# else

static const struct xlat_data kcmp_types_xdata[] = {
 [KCMP_FILE] = XLAT(KCMP_FILE),
 [KCMP_VM] = XLAT(KCMP_VM),
 [KCMP_FILES] = XLAT(KCMP_FILES),
 [KCMP_FS] = XLAT(KCMP_FS),
 [KCMP_SIGHAND] = XLAT(KCMP_SIGHAND),
 [KCMP_IO] = XLAT(KCMP_IO),
 [KCMP_SYSVSEM] = XLAT(KCMP_SYSVSEM),
 [KCMP_EPOLL_TFD] = XLAT(KCMP_EPOLL_TFD),
};
static
const struct xlat kcmp_types[1] = { {
 .data = kcmp_types_xdata,
 .size = ARRAY_SIZE(kcmp_types_xdata),
 .type = XT_INDEXED,
} };

# endif /* !IN_MPERS */

#endif /* !XLAT_MACROS_ONLY */
