1 #ifndef __LUNAIX_TYPES_H
2 #define __LUNAIX_TYPES_H
4 #include <lunaix/compiler.h>
7 #include <usr/lunaix/types.h>
9 #define PACKED __attribute__((packed))
13 // TODO: replace the integer type with these. To make thing more portable.
15 typedef unsigned char u8_t;
16 typedef unsigned short u16_t;
17 typedef unsigned int u32_t;
18 typedef unsigned long long u64_t;
19 typedef unsigned long ptr_t;
21 typedef signed long ssize_t;
23 typedef unsigned long size_t;
24 typedef unsigned long off_t;
26 typedef unsigned int cpu_t;
30 #endif /* __LUNAIX_TYPES_H */