-typedef int sh_off_t;
-#define BYTES_PER_FILE_POINTER 4
-#endif
-
-#ifdef SHERLOCK_CONFIG_LARGE_DB /* off_t as present in database files */
-typedef s64 sh_foff_t;
-#else
-typedef s32 sh_foff_t;
-#endif
-
-/* CPU characteristics */
-
-#define CPU_LITTLE_ENDIAN
-#undef CPU_BIG_ENDIAN
-#define CPU_CAN_DO_UNALIGNED_WORDS
-#define CPU_CAN_DO_UNALIGNED_LONGS
-#define CPU_STRUCT_ALIGN 4
-
-/* Misc */
-
-#ifdef __GNUC__
-
-#undef inline
-#define NONRET __attribute__((noreturn))
-#define UNUSED __attribute__((unused))
-
-#else
-
-#define inline
-#define NONRET
-#define UNUSED
-