1 /* Generated by ./xlat/gen.sh from ./xlat/mlockall_flags.in; do not edit. */
2 #if !(defined(MCL_CURRENT) || (defined(HAVE_DECL_MCL_CURRENT) && HAVE_DECL_MCL_CURRENT))
3 # define MCL_CURRENT 1
4 #endif
5 #if !(defined(MCL_FUTURE) || (defined(HAVE_DECL_MCL_FUTURE) && HAVE_DECL_MCL_FUTURE))
6 # define MCL_FUTURE 2
7 #endif
8 #if !(defined(MCL_ONFAULT) || (defined(HAVE_DECL_MCL_ONFAULT) && HAVE_DECL_MCL_ONFAULT))
9 # define MCL_ONFAULT 4
10 #endif
11 
12 #ifdef IN_MPERS
13 
14 # error static const struct xlat mlockall_flags in mpers mode
15 
16 #else
17 
18 static
19 const struct xlat mlockall_flags[] = {
20  XLAT(MCL_CURRENT),
21  XLAT(MCL_FUTURE),
22  XLAT(MCL_ONFAULT),
23  XLAT_END
24 };
25 
26 #endif /* !IN_MPERS */
27