3 #ifndef _ACESS_INTDEFS_H_
4 #define _ACESS_INTDEFS_H_
6 #define INT_MIN -0x80000000
7 #define INT_MAX 0x7FFFFFFF
9 typedef unsigned char __uint8_t;
10 typedef unsigned short __uint16_t;
11 typedef unsigned int __uint32_t;
12 typedef unsigned long long __uint64_t;
14 typedef signed char __int8_t;
15 typedef signed short __int16_t;
16 typedef signed int __int32_t;
17 typedef signed long long __int64_t;
19 #if defined(ARCHDIR_is_x86)
20 typedef __int32_t __intptr_t;
21 typedef __uint32_t __uintptr_t;
22 #elif defined(ARCHDIR_is_x86_64)
23 typedef __int64_t __intptr_t;
24 typedef __uint64_t __uintptr_t;
25 #elif defined(ARCHDIR_is_armv7)
26 typedef __int32_t __intptr_t;
27 typedef __uint32_t __uintptr_t;
29 # error "Unknown pointer size"
32 //typedef uint64_t off_t;