• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Generated by ./xlat/gen.sh from ./xlat/shm_resource_flags.in; do not edit. */
2 
3 #include "gcc_compat.h"
4 #include "static_assert.h"
5 
6 
7 #ifndef XLAT_MACROS_ONLY
8 
9 # ifdef IN_MPERS
10 
11 #  error static const struct xlat shm_resource_flags in mpers mode
12 
13 # else
14 
15 static
16 const struct xlat shm_resource_flags[] = {
17 #if defined(IPC_CREAT) || (defined(HAVE_DECL_IPC_CREAT) && HAVE_DECL_IPC_CREAT)
18   XLAT(IPC_CREAT),
19 #endif
20 #if defined(IPC_EXCL) || (defined(HAVE_DECL_IPC_EXCL) && HAVE_DECL_IPC_EXCL)
21   XLAT(IPC_EXCL),
22 #endif
23 #if defined(SHM_HUGETLB) || (defined(HAVE_DECL_SHM_HUGETLB) && HAVE_DECL_SHM_HUGETLB)
24   XLAT(SHM_HUGETLB),
25 #endif
26 #if defined(SHM_NORESERVE) || (defined(HAVE_DECL_SHM_NORESERVE) && HAVE_DECL_SHM_NORESERVE)
27   XLAT(SHM_NORESERVE),
28 #endif
29  XLAT_END
30 };
31 
32 # endif /* !IN_MPERS */
33 
34 #endif /* !XLAT_MACROS_ONLY */
35