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 short word; /* exactly 16 bits, unsigned */
22 typedef short sword; /* exactly 16 bits, signed */
23 typedef unsigned short u16; /* exactly 16 bits, unsigned */
24 typedef short s16; /* exactly 16 bits, signed */
25 typedef unsigned int u32; /* exactly 32 bits, unsigned */
26 typedef int s32; /* exactly 32 bits, signed */
27 typedef unsigned int uns; /* at least 32 bits */
28 typedef unsigned long long int u64; /* exactly 64 bits, unsigned */
29 typedef long long int s64; /* exactly 64 bits, signed */
30 typedef unsigned long addr_int_t; /* Both integer and address */
31 typedef unsigned int sh_time_t; /* Timestamp */
34 #define NULL (void *)0
37 #ifdef CONFIG_LARGE_FILES /* File positions */