73#error "OSBIT should be defined with system default pointer size in bit count."
74
75
76#endif
77
78#define DO_FOR_NUMBER_TYPES(DO) \
79DO(i8, i8, i8, CHAR); \
80DO(u8, u8, u8, UNSIGNED_CHAR); \
81DO(i16, i16, i16, SHORT); \
82DO(u16, u16, u16, UNSIGNED_SHORT); \
83DO(i32, i32, i32, INT); \
84DO(u32, u32, u32, UNSIGNED_INT); \
85DO(i64, i64, i64, LONG_LONG); \
86DO(u64, u64, u64, UNSIGNED_LONG_LONG); \
87DO(f32, f32, f32, FLOAT); \
88DO(f64, f64, f64, DOUBLE);
89
90//
91//
92//#if OSBIT == 64
93//
94//typedef ::u64 rtptr;
95//typedef ::u64 ulong_ptr;
96//typedef ::u64 dword_ptr;
97//
98//#else
99//
100//typedef ::u32 rtptr;
101//typedef ::u32 ulong_ptr;
102//typedef ::u32 dword_ptr;
103//
104//#endif
105
106//
107//
108//#if !defined(__APPLE__) && !defined(OPENBSD)
109//
110//
111//#define ssize_t iptr
112//
113//
114//#endif
115
116
117#define __priindex PRIiPTR
118
119
120#define __pricount PRIiPTR
121
122
123// insight by listening lastmiles (Dennis Clarke) talk about pthread_equal (it may end up not to be an ::i32 but a pointer in some implementations ?, so should use pthread_equal...)