You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
819 B
35 lines
819 B
/* 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 shm_resource_flags[] = {
|
|
#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
|
|
XLAT_END
|
|
};
|
|
|
|
# endif /* !IN_MPERS */
|
|
|
|
#endif /* !XLAT_MACROS_ONLY */
|