Home | History | Annotate | Download | only in xlat
      1 /* Generated by ./xlat/gen.sh from ./xlat/inotify_init_flags.in; do not edit. */
      2 #if !(defined(IN_NONBLOCK) || (defined(HAVE_DECL_IN_NONBLOCK) && HAVE_DECL_IN_NONBLOCK))
      3 # define IN_NONBLOCK O_NONBLOCK
      4 #endif
      5 #if defined IN_CLOEXEC || defined O_CLOEXEC
      6 #if !(defined(IN_CLOEXEC) || (defined(HAVE_DECL_IN_CLOEXEC) && HAVE_DECL_IN_CLOEXEC))
      7 # define IN_CLOEXEC O_CLOEXEC
      8 #endif
      9 #endif
     10 
     11 #ifdef IN_MPERS
     12 
     13 # error static const struct xlat inotify_init_flags in mpers mode
     14 
     15 #else
     16 
     17 static
     18 const struct xlat inotify_init_flags[] = {
     19  XLAT(IN_NONBLOCK),
     20 #if defined IN_CLOEXEC || defined O_CLOEXEC
     21  XLAT(IN_CLOEXEC),
     22 #endif
     23  XLAT_END
     24 };
     25 
     26 #endif /* !IN_MPERS */
     27