2 * Sherlock Library -- Configuration-Dependent Definitions
4 * (c) 1997 Martin Mares, <mj@atrey.karlin.mff.cuni.cz>
7 #ifndef _SHERLOCK_CONFIG_H
8 #define _SHERLOCK_CONFIG_H
12 #define SHER_VER "1.0"
16 typedef unsigned char byte; /* exactly 8 bits, unsigned */
17 typedef signed char sbyte; /* exactly 8 bits, signed */
18 typedef unsigned short word; /* exactly 16 bits, unsigned */
19 typedef short sword; /* exactly 16 bits, signed */
20 typedef unsigned int ulg; /* exactly 32 bits, unsigned */
21 typedef int slg; /* exactly 32 bits, signed */
22 typedef unsigned int uns; /* at least 32 bits */
25 #define NULL (void *)0
28 /* CPU characteristics */
30 #define CPU_LITTLE_ENDIAN
32 #define CPU_CAN_DO_UNALIGNED_WORDS
33 #define CPU_CAN_DO_UNALIGNED_LONGS
34 #define CPU_STRUCT_ALIGN 4
41 #define NONRET __attribute__((noreturn))