1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
| /* 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 */
|
|