2 * UCW Library -- Configuration-Dependent Definitions
4 * (c) 1997--2004 Martin Mares <mj@ucw.cz>
6 * This software may be freely distributed and used according to the terms
7 * of the GNU Lesser General Public License.
13 /* Configuration switches */
15 #include "lib/autoconf.h"
19 typedef unsigned char byte; /* exactly 8 bits, unsigned */
20 typedef signed char sbyte; /* exactly 8 bits, signed */
21 typedef unsigned char u8; /* exactly 8 bits, unsigned */
22 typedef signed char s8; /* exactly 8 bits, signed */
23 typedef unsigned short word; /* exactly 16 bits, unsigned */
24 typedef short sword; /* exactly 16 bits, signed */
25 typedef unsigned short u16; /* exactly 16 bits, unsigned */
26 typedef short s16; /* exactly 16 bits, signed */
27 typedef unsigned int u32; /* exactly 32 bits, unsigned */
28 typedef int s32; /* exactly 32 bits, signed */
29 typedef unsigned int uns; /* at least 32 bits */
30 typedef unsigned long long int u64; /* exactly 64 bits, unsigned */
31 typedef long long int s64; /* exactly 64 bits, signed */
32 typedef unsigned long addr_int_t; /* Both integer and address */
33 typedef unsigned int sh_time_t; /* Timestamp */
36 #define NULL (void *)0
39 #ifdef CONFIG_LFS /* File positions */