… | |
… | |
311 | |
311 | |
312 | /* Define to `unsigned' if <sys/types.h> does not define. */ |
312 | /* Define to `unsigned' if <sys/types.h> does not define. */ |
313 | #undef size_t |
313 | #undef size_t |
314 | |
314 | |
315 | |
315 | |
|
|
316 | typedef unsigned char u8; |
|
|
317 | typedef signed char s8; |
|
|
318 | |
316 | #if __CYGWIN__ |
319 | #if __CYGWIN__ |
317 | |
320 | |
318 | typedef unsigned char u8; |
|
|
319 | typedef unsigned short u16; |
321 | typedef unsigned short u16; |
320 | typedef unsigned int u32; |
322 | typedef unsigned int u32; |
|
|
323 | typedef signed short s16; |
|
|
324 | typedef signed int s32; |
321 | |
325 | |
322 | #else |
326 | #else |
323 | #include <inttypes.h> |
327 | #include <inttypes.h> |
324 | |
328 | |
325 | /* old modula-2 habits */ |
329 | /* old modula-2 habits */ |
326 | typedef unsigned char u8; |
|
|
327 | typedef uint16_t u16; |
330 | typedef uint16_t u16; |
328 | typedef uint32_t u32; |
331 | typedef uint32_t u32; |
|
|
332 | typedef int16_t s16; |
|
|
333 | typedef int32_t s32; |
329 | #endif |
334 | #endif |
330 | |
335 | |
331 | #endif |
336 | #endif |
332 | |
337 | |