4 /* for C99 or selected toolchain versions we can use stdint.h */
5 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199900) || \
6 (defined(_MSC_VER) && _MSC_VER >= 1600) || \
7 (defined(__WATCOMC__) && __WATCOMC__ >= 1200)
10 #elif defined(__DOS__) && defined(__WATCOMC__) && __WATCOMC__ < 1200
11 typedef signed char int8_t;
12 typedef unsigned char uint8_t;
13 typedef short int16_t;
14 typedef unsigned short uint16_t;
16 typedef unsigned long uint32_t;
17 typedef long intptr_t;
18 typedef unsigned long uintptr_t;
20 #elif defined(_MSC_VER) && (_MSC_VER < 1600)
21 typedef signed __int8 int8_t;
22 typedef unsigned __int8 uint8_t;
23 typedef __int16 int16_t;
24 typedef unsigned __int16 uint16_t;
25 typedef __int32 int32_t;
26 typedef unsigned __int32 uint32_t;
27 typedef long intptr_t;
28 typedef unsigned long uintptr_t;
31 #include <sys/types.h>
35 #endif /* SIZEINT_H_ */