5
* If linux/types.h is already been included, assume it has defined
6
* everything we need. (cross fingers)
10
typedef unsigned char __u8;
11
typedef signed char __s8;
13
#if (@SIZEOF_INT@ == 8)
15
typedef unsigned int __u64;
16
#elif (@SIZEOF_LONG@ == 8)
18
typedef unsigned long __u64;
19
#elif (@SIZEOF_LONG_LONG@ == 8)
21
typedef __signed__ long long __s64;
23
typedef signed long long __s64;
25
typedef unsigned long long __u64;
28
#if (@SIZEOF_INT@ == 2)
30
typedef unsigned int __u16;
31
#elif (@SIZEOF_SHORT@ == 2)
33
typedef unsigned short __u16;
35
?==error: undefined 16 bit type
38
#if (@SIZEOF_INT@ == 4)
40
typedef unsigned int __u32;
41
#elif (@SIZEOF_LONG@ == 4)
43
typedef unsigned long __u32;
44
#elif (@SIZEOF_SHORT@ == 4)
46
typedef unsigned short __u32;
48
?== error: undefined 32 bit type
51
#endif /* LINUX_TYPES_H */
53
#endif /* EXT2_TYPES_H */