comparison stdint.h @ 9:62d255c0ba50

All (U)INT* types changed to (unsigned) __int*. This should make stdint.h compatible with VC6.
author ipse.c99@d525d15b-5824-0410-80a3-6185d19c2cde
date Wed, 13 Dec 2006 13:39:33 +0000
parents dfeb4c5e9077
children fed29a68d73f
comparison
equal deleted inserted replaced
8:8528f97c3731 9:62d255c0ba50
45 #include <wchar.h> 45 #include <wchar.h>
46 46
47 // 7.18.1 Integer types 47 // 7.18.1 Integer types
48 48
49 // 7.18.1.1 Exact-width integer types 49 // 7.18.1.1 Exact-width integer types
50 typedef INT8 int8_t; 50 typedef __int8 int8_t;
51 typedef INT16 int16_t; 51 typedef __int16 int16_t;
52 typedef INT32 int32_t; // There is LONG32 type defined the same. Should it be used here? 52 typedef __int32 int32_t;
53 typedef INT64 int64_t; // There is LONG64 type defined the same. Should it be used here? 53 typedef __int64 int64_t;
54 typedef UINT8 uint8_t; 54 typedef unsigned __int8 uint8_t;
55 typedef UINT16 uint16_t; 55 typedef unsigned __int16 uint16_t;
56 typedef UINT32 uint32_t; // There are ULONG32 and DWORD32 type defined the same. Should one of them be used here? 56 typedef unsigned __int32 uint32_t;
57 typedef UINT64 uint64_t; // There are ULONG64 and DWORD64 type defined the same. Should one of them be used here? 57 typedef unsigned __int64 uint64_t;
58 58
59 // 7.18.1.2 Minimum-width integer types 59 // 7.18.1.2 Minimum-width integer types
60 typedef int8_t int_least8_t; 60 typedef int8_t int_least8_t;
61 typedef int16_t int_least16_t; 61 typedef int16_t int_least16_t;
62 typedef int32_t int_least32_t; 62 typedef int32_t int_least32_t;