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

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


#ifndef XLAT_MACROS_ONLY

# ifdef IN_MPERS

#  error static const struct xlat shm_resource_flags in mpers mode

# else

static const struct xlat_data shm_resource_flags_xdata[] = {
#if defined(IPC_CREAT) || (defined(HAVE_DECL_IPC_CREAT) && HAVE_DECL_IPC_CREAT)
  XLAT(IPC_CREAT),
#endif
#if defined(IPC_EXCL) || (defined(HAVE_DECL_IPC_EXCL) && HAVE_DECL_IPC_EXCL)
  XLAT(IPC_EXCL),
#endif
#if defined(SHM_HUGETLB) || (defined(HAVE_DECL_SHM_HUGETLB) && HAVE_DECL_SHM_HUGETLB)
  XLAT(SHM_HUGETLB),
#endif
#if defined(SHM_NORESERVE) || (defined(HAVE_DECL_SHM_NORESERVE) && HAVE_DECL_SHM_NORESERVE)
  XLAT(SHM_NORESERVE),
#endif
};
static
const struct xlat shm_resource_flags[1] = { {
 .data = shm_resource_flags_xdata,
 .size = ARRAY_SIZE(shm_resource_flags_xdata),
 .type = XT_NORMAL,
} };

# endif /* !IN_MPERS */

#endif /* !XLAT_MACROS_ONLY */
