1 /* Generated by ./xlat/gen.sh from ./xlat/modetypes.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 modetypes in mpers mode 12 13 # else 14 15 static 16 const struct xlat modetypes[] = { 17 #if defined(S_IFREG) || (defined(HAVE_DECL_S_IFREG) && HAVE_DECL_S_IFREG) 18 XLAT(S_IFREG), 19 #endif 20 #if defined(S_IFSOCK) || (defined(HAVE_DECL_S_IFSOCK) && HAVE_DECL_S_IFSOCK) 21 XLAT(S_IFSOCK), 22 #endif 23 #if defined(S_IFIFO) || (defined(HAVE_DECL_S_IFIFO) && HAVE_DECL_S_IFIFO) 24 XLAT(S_IFIFO), 25 #endif 26 #if defined(S_IFLNK) || (defined(HAVE_DECL_S_IFLNK) && HAVE_DECL_S_IFLNK) 27 XLAT(S_IFLNK), 28 #endif 29 #if defined(S_IFDIR) || (defined(HAVE_DECL_S_IFDIR) && HAVE_DECL_S_IFDIR) 30 XLAT(S_IFDIR), 31 #endif 32 #if defined(S_IFBLK) || (defined(HAVE_DECL_S_IFBLK) && HAVE_DECL_S_IFBLK) 33 XLAT(S_IFBLK), 34 #endif 35 #if defined(S_IFCHR) || (defined(HAVE_DECL_S_IFCHR) && HAVE_DECL_S_IFCHR) 36 XLAT(S_IFCHR), 37 #endif 38 XLAT_END 39 }; 40 41 # endif /* !IN_MPERS */ 42 43 #endif /* !XLAT_MACROS_ONLY */ 44