diff options
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 24 |
1 files changed, 0 insertions, 24 deletions
@@ -214,24 +214,12 @@ typedef signed char int8_t; | |||
214 | # if (SIZEOF_SHORT_INT == 2) | 214 | # if (SIZEOF_SHORT_INT == 2) |
215 | typedef short int int16_t; | 215 | typedef short int int16_t; |
216 | # else | 216 | # else |
217 | # ifdef _UNICOS | ||
218 | # if (SIZEOF_SHORT_INT == 4) | ||
219 | typedef short int16_t; | ||
220 | # else | ||
221 | typedef long int16_t; | ||
222 | # endif | ||
223 | # else | ||
224 | # error "16 bit int type not found." | 217 | # error "16 bit int type not found." |
225 | # endif /* _UNICOS */ | ||
226 | # endif | 218 | # endif |
227 | # if (SIZEOF_INT == 4) | 219 | # if (SIZEOF_INT == 4) |
228 | typedef int int32_t; | 220 | typedef int int32_t; |
229 | # else | 221 | # else |
230 | # ifdef _UNICOS | ||
231 | typedef long int32_t; | ||
232 | # else | ||
233 | # error "32 bit int type not found." | 222 | # error "32 bit int type not found." |
234 | # endif /* _UNICOS */ | ||
235 | # endif | 223 | # endif |
236 | #endif | 224 | #endif |
237 | 225 | ||
@@ -247,24 +235,12 @@ typedef unsigned char u_int8_t; | |||
247 | # if (SIZEOF_SHORT_INT == 2) | 235 | # if (SIZEOF_SHORT_INT == 2) |
248 | typedef unsigned short int u_int16_t; | 236 | typedef unsigned short int u_int16_t; |
249 | # else | 237 | # else |
250 | # ifdef _UNICOS | ||
251 | # if (SIZEOF_SHORT_INT == 4) | ||
252 | typedef unsigned short u_int16_t; | ||
253 | # else | ||
254 | typedef unsigned long u_int16_t; | ||
255 | # endif | ||
256 | # else | ||
257 | # error "16 bit int type not found." | 238 | # error "16 bit int type not found." |
258 | # endif | ||
259 | # endif | 239 | # endif |
260 | # if (SIZEOF_INT == 4) | 240 | # if (SIZEOF_INT == 4) |
261 | typedef unsigned int u_int32_t; | 241 | typedef unsigned int u_int32_t; |
262 | # else | 242 | # else |
263 | # ifdef _UNICOS | ||
264 | typedef unsigned long u_int32_t; | ||
265 | # else | ||
266 | # error "32 bit int type not found." | 243 | # error "32 bit int type not found." |
267 | # endif | ||
268 | # endif | 244 | # endif |
269 | # endif | 245 | # endif |
270 | #define __BIT_TYPES_DEFINED__ | 246 | #define __BIT_TYPES_DEFINED__ |