1 /* Generated by ./xlat/gen.sh from ./xlat/whence_codes.in; do not edit. */ 2 3 #include "gcc_compat.h" 4 #include "static_assert.h" 5 6 7 #ifndef XLAT_MACROS_ONLY 8 9 # ifndef IN_MPERS 10 11 const struct xlat whence_codes[] = { 12 #if defined(SEEK_SET) || (defined(HAVE_DECL_SEEK_SET) && HAVE_DECL_SEEK_SET) 13 XLAT(SEEK_SET), 14 #endif 15 #if defined(SEEK_CUR) || (defined(HAVE_DECL_SEEK_CUR) && HAVE_DECL_SEEK_CUR) 16 XLAT(SEEK_CUR), 17 #endif 18 #if defined(SEEK_END) || (defined(HAVE_DECL_SEEK_END) && HAVE_DECL_SEEK_END) 19 XLAT(SEEK_END), 20 #endif 21 #if defined(SEEK_DATA) || (defined(HAVE_DECL_SEEK_DATA) && HAVE_DECL_SEEK_DATA) 22 XLAT(SEEK_DATA), 23 #endif 24 #if defined(SEEK_HOLE) || (defined(HAVE_DECL_SEEK_HOLE) && HAVE_DECL_SEEK_HOLE) 25 XLAT(SEEK_HOLE), 26 #endif 27 XLAT_END 28 }; 29 30 # endif /* !IN_MPERS */ 31 32 #endif /* !XLAT_MACROS_ONLY */ 33